Click or drag to resize

ITextMarkup Interface

Text markup annotations shall appear as highlights, underlines, strikeouts (all PDF 1.3), or jagged (“squiggly”) underlines (PDF 1.4) in the text of a document. When opened, they shall display a pop-up window containing the text of the associated note.

Namespace:  pdftron.PDF.Annots
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public interface ITextMarkup : IAnnot, 
	IMarkup

The ITextMarkup type exposes the following members.

Methods
  NameDescription
Public methodDeleteCustomData
Deletes custom data associated with the given key.
(Inherited from IAnnot.)
Public methodFlatten
Flatten/Merge the existing annotation appearances with the page content and delete this annotation from a given page. Annotation 'flattening' refers to the operation that changes active annotations (such as markup, widgets, 3D models, etc.) into a static area that is part of the PDF document, just like the other text and images in the document.
(Inherited from IAnnot.)
Public methodGetAnnotType
Gets the type.
(Inherited from IAnnot.)
Public methodGetAppearance
Gets the annotation’s appearance for the given combination of annotation and appearance states.
(Inherited from IAnnot.)
Public methodGetAppearance(AnnotAnnotationState)
Gets the annotation’s appearance for the given combination of annotation and appearance states.
(Inherited from IAnnot.)
Public methodGetAppearance(AnnotAnnotationState, String)
Gets the annotation’s appearance for the given combination of annotation and appearance states.
(Inherited from IAnnot.)
Public methodGetBorderEffect
Gets the Border Effect of the Markup Annotation.
(Inherited from IMarkup.)
Public methodGetBorderEffectIntensity
Sets the Border Effect of the Markup Annotation. (Optional; PDF 1.5 )
(Inherited from IMarkup.)
Public methodGetBorderStyle
Gets the border style for the annotation. Typically used for Link annotations.
(Inherited from IAnnot.)
Public methodGetColorAsCMYK
Gets an annotation's color.
(Inherited from IAnnot.)
Public methodGetColorAsGray
Gets an annotation's color.
(Inherited from IAnnot.)
Public methodGetColorAsRGB
Gets the annotation’s active appearance state.
(Inherited from IAnnot.)
Public methodGetColorCompNum
Gets the color space the annotation's color is represented in.
(Inherited from IAnnot.)
Public methodGetContentRect
Gets the inner bounding rectangle of the Square. (Optional; PDF 1.5)
(Inherited from IMarkup.)
Public methodGetContents
Gets the contents.
(Inherited from IAnnot.)
Public methodGetCreationDates
Gets the creation date of the Markup Annotation
(Inherited from IMarkup.)
Public methodGetCustomData
Returns custom data associated with the given key.
(Inherited from IAnnot.)
Public methodGetDate
Gets an annotation's last modified date.
(Inherited from IAnnot.)
Public methodGetFlag
Gets the flag.
(Inherited from IAnnot.)
Public methodGetInteriorColor
Sets the interior color of the Square. (Optional; PDF 1.4 )
(Inherited from IMarkup.)
Public methodGetInteriorColorCompNum
Gets the number indicating interior color space of the Square.
(Inherited from IMarkup.)
Public methodGetOpacity
Gets the contant opacity value corresponding to the annotation.
(Inherited from IMarkup.)
Public methodGetOptionalContent
Gets optional content of an annotation.
(Inherited from IAnnot.)
Public methodGetPadding
Gets the rectangle difference of the Square. (Optional; PDF 1.5)
(Inherited from IMarkup.)
Public methodGetPage
Gets the page the annotation is associated with.
(Inherited from IAnnot.)
Public methodGetPopup
Gets the Popup object associated with this Markup annotation.
(Inherited from IMarkup.)
Public methodGetQuadPoint
Gets the QuadPoint located at a certain index of the QuadPoint Array of the TextMarkup annotation.
Public methodGetQuadPointCount
Gets the number of QuadPoints in the QuadPoints Array of the TextMarkup annotation.
Public methodGetRect
Gets the rect.
(Inherited from IAnnot.)
Public methodGetRotation
Gets the rotation value of the annotation. The Rotation specifies the number of degrees by which the annotation shall be rotated counterclockwise relative to the page. The value shall be a multiple of 90.
(Inherited from IAnnot.)
Public methodGetSDFObj
Gets the SDFObj.
(Inherited from IAnnot.)
Public methodGetStructParent
Gets the struct parent of an annotation. (Required if the annotation is a structural content item; PDF 1.3)
(Inherited from IAnnot.)
Public methodGetSubject
Gets subject of the Markup Annotation.
(Inherited from IMarkup.)
Public methodGetTitle
Gets the title of the Markup Annotation.
(Inherited from IMarkup.)
Public methodGetTriggerAction
Get the Action associated with the selected Annot Trigger event
(Inherited from IAnnot.)
Public methodGetUniqueID
Gets the unique ID.
(Inherited from IAnnot.)
Public methodIsMarkup
Checks if is markup.
(Inherited from IAnnot.)
Public methodIsValid
Checks if is valid.
(Inherited from IAnnot.)
Public methodRefreshAppearance
Regenerates the appearance stream for the annotation. This method can be used to auto-generate the annotation appearance after creating or modifying the annotation without providing an explicit appearance or setting the "NeedAppearances" flag in the AcroForm dictionary.
(Inherited from IAnnot.)
Public methodRefreshAppearance(RefreshOptions)
A version of RefreshAppearance allowing custom options to make slight tweaks in behaviour.
(Inherited from IAnnot.)
Public methodRemoveAppearance
Removes the annotation's appearance
(Inherited from IAnnot.)
Public methodRemoveAppearance(AnnotAnnotationState)
Removes the annotation's appearance for the given combination of annotation and appearance states.
(Inherited from IAnnot.)
Public methodRemoveAppearance(AnnotAnnotationState, String)
Removes the annotation's appearance for the given combination of annotation and appearance states.
(Inherited from IAnnot.)
Public methodResize
Resize.
(Inherited from IAnnot.)
Public methodSetAppearance(Obj)
Sets the annotation’s appearance for the given combination of annotation and appearance states. (Optional; PDF 1.2)
(Inherited from IAnnot.)
Public methodSetAppearance(Obj, AnnotAnnotationState)
Removes the annotation's appearance for the given combination of annotation and appearance states.
(Inherited from IAnnot.)
Public methodSetAppearance(Obj, AnnotAnnotationState, String)
Sets the annotation’s appearance for the given combination of annotation and appearance states. (Optional; PDF 1.2)
(Inherited from IAnnot.)
Public methodSetBorderEffectIntensity
Sets the Border Effect Intensity of the Markup Annotation. (Optional; valid only if Border effect is Cloudy)
(Inherited from IMarkup.)
Public methodSetBorderStyle
Sets the border style for the annotation. Typically used for Link annotations.
(Inherited from IAnnot.)
Public methodSetColor(ColorPt)
Sets an annotation's color. (Optional; PDF 1.1)
(Inherited from IAnnot.)
Public methodSetColor(ColorPt, Int32)
Sets an annotation's color. (Optional; PDF 1.1)
(Inherited from IAnnot.)
Public methodSetContentRect
Sets the inner bounding rectangle of the Square. (Optional; PDF 1.5)
(Inherited from IMarkup.)
Public methodSetContents
Sets the contents.
(Inherited from IAnnot.)
Public methodSetCreationDates
Sets the creation date of the Markup Annotation. (Optional; PDF 1.5 )
(Inherited from IMarkup.)
Public methodSetCustomData
Sets the custom data associated with the specified key.
(Inherited from IAnnot.)
Public methodSetDate
Sets an annotation's last modified date.
(Inherited from IAnnot.)
Public methodSetDateToNow
Sets an annotation's modification date and time to the current time. This corresponds to the value of the "M" field of annotation dictionary(PDF 1.1)
(Inherited from IAnnot.)
Public methodSetFlag
Sets the value of given Flag.
(Inherited from IAnnot.)
Public methodSetInteriorColor
Gets the interior color of the Square.
(Inherited from IMarkup.)
Public methodSetOpacity
Sets the contant opacity value corresponding to the annotation. (Optional; PDF 1.4 )
(Inherited from IMarkup.)
Public methodSetOptionalContent
Sets optional content of an annotation. (Optional, PDF1.5).
(Inherited from IAnnot.)
Public methodSetPadding
Sets the rectangle difference of the Square. (Optional; PDF 1.5)
(Inherited from IMarkup.)
Public methodSetPage
Sets the reference to a page the annotation is associated with. (Optional PDF 1.3; not used in FDF files)
(Inherited from IAnnot.)
Public methodSetPopup
Sets the Popup object associated with this Markup annotation. (Optional; PDF 1.3 )
(Inherited from IMarkup.)
Public methodSetQuadPoint
Sets the QuadPoint to be located at a certain index of the QuadPoint Array of the TextMarkup annotation. (Optional; PDF 1.6 )
Public methodSetRect
Sets the size and location of an annotation on its page.
(Inherited from IAnnot.)
Public methodSetRotation
Sets the rotation value of the annotation. The Rotation specifies the number of degrees by which the annotation shall be rotated counterclockwise relative to the page. The value shall be a multiple of 90. (Optional)
(Inherited from IAnnot.)
Public methodSetStructParent
Sets the struct parent of an annotation. (Required if the annotation is a structural content item; PDF 1.3)
(Inherited from IAnnot.)
Public methodSetSubject
Sets subject of the Markup Annotation. (Optional; PDF 1.5 )
(Inherited from IMarkup.)
Public methodSetTitle
Sets the title of the Markup Annotation. (Optional; PDF 1.1)
(Inherited from IMarkup.)
Public methodSetUniqueID
Sets the unique identifier for this annotation.
(Inherited from IAnnot.)
Top
See Also