Legacy synonym for text_redact annotation. Note: coordinate calculations may be slightly different from text_redact annotation. Uses the same attributes as rectangle_filled. circle_transĭraws an ellipse that fits into a bounding rectangle. circle_filledĭraws an ellipse that fits into a bounding rectangle. An arrowhead is drawn at the END side of the line (see dragDirection property of the line drawType). Same set of attributes, the size of an arrowhead is hardcoded and it also has the same color as the line itself. Draw Type Descriptions arrowĭraws a line with a triangle-shaped head. This type does not support HTML hex color codes, such as “#F0F8FF” or HTML color names such as “AliceBlue”. ID of an image that will be used by annotations to reference to it.īase64-encoded binary image data this attribute uses the same format as HTML inline image does.Ĭolor - in all attributes below “color” type means the attribute’s value can either be a “transparent” keyword, meaning no color at all should be applied for that piece of a redaction, or an integer value that represents a 24-bit RGB value of a desired color. To support this, a element can have a child element that can include an arbitrary number of elements, each having two required elements: Name The content of such images is provided in an XML as well. Some annotations add images to a document. Example XMLīelow is a full working sample of a redaction XML containing one annotation for the 1st page that adds a black rectangle redaction to a redacted document: The set of x_percent, y_percent, width_percent, height_percent coordinates is referred to as a “bounding rectangle” in the draw type descriptions below. Height position of a rectangle, in 0-to-1 based portion of a page height. Width of a bounding rectangle, in 0-to-1 based portion of a page width. Y position of a rectangle, in 0-to-1 based portion of a page height. X position of a bounding rectangle, in 0-to-1 based portion of a page width. One of the supported draw types (see Draw Type Descriptions below) that defines what modification should an annotation apply to a page. Common AttributesĮach element supports the following attribute set: Name A specific set of attributes depends on drawType attribute of the. This value can be arbitrary, as long as absolute coordinates specified in annotations are consistent with it.Įach can contain an arbitrary number of the elements.Įach element defines a certain modification to a page content. This attribute is only used for positioning of annotations which use absolute coordinates (such as data in text_hyperlink_annotation). This value can be arbitrary, as long as absolute coordinates specified in annotations are consistent with it. Each element must have the following attributes: NameĪ 1-based page number annotations that are listed as child elements of a given are only applied to the corresponding page of the target document. The following nodes are expected as part of the declaration:Ī element can contain a number of elements, each containing an arbitrary number of the elements. A user can provide a specification of required modifications to a document in an XML-based format.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |