Line Class |
Namespace: pdftron.PDF.Annots
public sealed class Line : IClosable, IAnnot, IMarkup, ILine
The Line type exposes the following members.
Name | Description | |
---|---|---|
Close | ||
Create | Creates a new Line annotation, in the specified document.
| |
DeleteCustomData | Deletes custom data associated with the given key.
| |
Equals | (Inherited from Object.) | |
Flatten | 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.
| |
GetAnnotType | Gets the type.
| |
GetAppearance | Gets the annotation’s appearance for the given combination of annotation
and appearance states.
| |
GetAppearance(AnnotAnnotationState) | Gets the annotation’s appearance for the given combination of annotation
and appearance states.
| |
GetAppearance(AnnotAnnotationState, String) | Gets the annotation’s appearance for the given combination of annotation
and appearance states.
| |
GetBorderEffect | Gets the Border Effect of the Markup Annotation.
| |
GetBorderEffectIntensity | Sets the Border Effect of the Markup Annotation.
(Optional; PDF 1.5 )
| |
GetBorderStyle | Gets the border style for the annotation. Typically used for Link annotations.
| |
GetCaptionPosition | Gets the caption position of a line.
| |
GetColorAsCMYK | Gets an annotation's color.
| |
GetColorAsGray | Gets an annotation's color.
| |
GetColorAsRGB | Gets the annotation’s active appearance state.
| |
GetColorCompNum | Gets the color space the annotation's color is represented in.
| |
GetContentRect | Gets the inner bounding rectangle of the Square.
(Optional; PDF 1.5)
| |
GetContents | Gets the contents.
| |
GetCreationDates | Gets the creation date of the Markup Annotation
| |
GetCustomData | Returns custom data associated with the given key.
| |
GetDate | Gets an annotation's last modified date.
| |
GetEndPoint | Gets the coordinates of the end of a line.
| |
GetEndStyle | Gets the ending syle of the end of a line.
| |
GetFlag | Gets the flag.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetIntentType | Gets the intent type of the line.
| |
GetInteriorColor | Sets the interior color of the Square.
(Optional; PDF 1.4 )
| |
GetInteriorColorCompNum | Gets the number indicating interior color space of the Square.
| |
GetLeaderLineExtensionLength | Gets the leader line extension length of a line.
| |
GetLeaderLineLength | Gets the leader line length of a line. *
| |
GetLeaderLineOffset | Gets the leader line offset length of a line.
| |
GetOpacity | Gets the contant opacity value corresponding to the annotation.
| |
GetOptionalContent | Gets optional content of an annotation.
| |
GetPadding | Gets the rectangle difference of the Square.
(Optional; PDF 1.5)
| |
GetPage | Gets the page the annotation is associated with.
| |
GetPopup | Gets the Popup object associated with this Markup annotation.
| |
GetRect | Gets the rect.
| |
GetRotation | 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.
| |
GetSDFObj | Gets the SDFObj.
| |
GetShowCaption | Gets the option of whether to show caption.
| |
GetStartPoint | Gets the coordinates of the start of a line.
| |
GetStartStyle | Gets the ending syle of the start of a line.
| |
GetStructParent | Gets the struct parent of an annotation.
(Required if the annotation is a structural content item; PDF 1.3)
| |
GetSubject | Gets subject of the Markup Annotation.
| |
GetTextHOffset | Gets the horizontal offset of the caption.
| |
GetTextVOffset | Gets the vertical offset of the caption.
| |
GetTitle | Gets the title of the Markup Annotation.
| |
GetTriggerAction | Get the Action associated with the selected Annot Trigger event
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetUniqueID | Gets the unique ID.
| |
IsMarkup | Checks if is markup.
| |
IsValid | Checks if is valid.
| |
RefreshAppearance | 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.
| |
RefreshAppearance(RefreshOptions) | A version of RefreshAppearance allowing custom options to make slight tweaks in behaviour.
| |
RemoveAppearance | Removes the annotation's appearance
| |
RemoveAppearance(AnnotAnnotationState) | Removes the annotation's appearance for the given combination of annotation
and appearance states.
| |
RemoveAppearance(AnnotAnnotationState, String) | Removes the annotation's appearance for the given combination of annotation
and appearance states.
| |
Resize | Resize.
| |
SetAppearance(Obj) | Sets the annotation’s appearance for the given combination of annotation
and appearance states.
(Optional; PDF 1.2)
| |
SetAppearance(Obj, AnnotAnnotationState) | Removes the annotation's appearance for the given combination of annotation
and appearance states.
| |
SetAppearance(Obj, AnnotAnnotationState, String) | Sets the annotation’s appearance for the given combination of annotation
and appearance states.
(Optional; PDF 1.2)
| |
SetBorderEffectIntensity | Sets the Border Effect Intensity of the Markup Annotation.
(Optional; valid only if Border effect is Cloudy)
| |
SetBorderStyle | Sets the border style for the annotation. Typically used for Link annotations.
| |
SetCaptionPosition | Sets the caption position of a line.
(PDF 1.7)
| |
SetColor(ColorPt) | Sets an annotation's color.
(Optional; PDF 1.1)
| |
SetColor(ColorPt, Int32) | Sets an annotation's color.
(Optional; PDF 1.1)
| |
SetContentRect | Sets the inner bounding rectangle of the Square.
(Optional; PDF 1.5)
| |
SetContents | Sets the contents.
| |
SetCreationDates | Sets the creation date of the Markup Annotation.
(Optional; PDF 1.5 )
| |
SetCustomData | Sets the custom data associated with the specified key.
| |
SetDate | Sets an annotation's last modified date.
| |
SetDateToNow |
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)
| |
SetEndPoint | Sets the coordinates of the end of a line.
| |
SetEndStyle | Sets the ending syle of the end of a line
(Optional; PDF 1.4)
| |
SetFlag | Sets the value of given Flag.
| |
SetIntentType | Sets the intent type of the line.
(For PDF 1.6)
| |
SetInteriorColor | Gets the interior color of the Square.
| |
SetLeaderLineExtensionLength | Sets the leader line extension length of a line.
(PDF 1.6)
| |
SetLeaderLineLength | Sets the leader line length of a line.
(PDF 1.6)
| |
SetLeaderLineOffset | Sets the leader line offset length of a line.
(PDF 1.7)
| |
SetOpacity | Sets the contant opacity value corresponding to the annotation.
(Optional; PDF 1.4 )
| |
SetOptionalContent | Sets optional content of an annotation.
(Optional, PDF1.5).
| |
SetPadding | Sets the rectangle difference of the Square.
(Optional; PDF 1.5)
| |
SetPage | Sets the reference to a page the annotation is associated with.
(Optional PDF 1.3; not used in FDF files)
| |
SetPopup | Sets the Popup object associated with this Markup annotation.
(Optional; PDF 1.3 )
| |
SetRect | Sets the size and location of an annotation on its page.
| |
SetRotation | 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)
| |
SetShowCaption | Sets the option of whether to show caption.
| |
SetStartPoint | Sets the coordinates of the start of a line.
| |
SetStartStyle | Sets the ending syle of the start of a line
(Optional; PDF 1.4.)
| |
SetStructParent | Sets the struct parent of an annotation.
(Required if the annotation is a structural content item; PDF 1.3)
| |
SetSubject | Sets subject of the Markup Annotation.
(Optional; PDF 1.5 )
| |
SetTextHOffset | Sets the horizontal offset of the caption.
(For PDF 1.7 )
| |
SetTextVOffset | Sets the vertical offset of the caption.
(For PDF 1.7 )
| |
SetTitle | Sets the title of the Markup Annotation.
(Optional; PDF 1.1)
| |
SetUniqueID | Sets the unique identifier for this annotation.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |