Class PdfTextAnnotation
public class PdfTextAnnotation : PdfMarkupAnnotation
- Inheritance
-
PdfTextAnnotation
- Inherited Members
Constructors
PdfTextAnnotation(Rectangle)
public PdfTextAnnotation(Rectangle rect)
Parameters
rect
Rectangle
PdfTextAnnotation(PdfDictionary)
Instantiates a new PdfTextAnnotation instance based on PdfDictionary instance, that represents existing annotation object in the document.
protected PdfTextAnnotation(PdfDictionary pdfObject)
Parameters
pdfObject
PdfDictionarythe PdfDictionary representing annotation object
- See Also
Methods
GetIconName()
The name of an icon that is used in displaying the annotation.
public virtual PdfName GetIconName()
Returns
- PdfName
a PdfName that specifies the icon for displaying annotation, or null if icon name is not specified.
Remarks
The name of an icon that is used in displaying the annotation. Possible values are described in SetIconName(PdfName).
GetOpen()
A flag specifying whether the annotation shall initially be displayed open.
public virtual bool GetOpen()
Returns
- bool
true if annotation is initially open, false - if closed.
Remarks
A flag specifying whether the annotation shall initially be displayed open. This flag has affect to not all kinds of annotations.
GetState()
public virtual PdfString GetState()
Returns
GetStateModel()
public virtual PdfString GetStateModel()
Returns
GetSubtype()
public override PdfName GetSubtype()
Returns
SetIconName(PdfName)
The name of an icon that is used in displaying the annotation.
public virtual PdfTextAnnotation SetIconName(PdfName name)
Parameters
name
PdfNamea PdfName that specifies the icon for displaying annotation. Possible values are:
- Comment
- Key
- Note
- Help
- NewParagraph
- Paragraph
- Insert
Returns
- PdfTextAnnotation
this PdfTextAnnotation instance.
SetOpen(bool)
Sets a flag specifying whether the annotation shall initially be displayed open.
public virtual PdfTextAnnotation SetOpen(bool open)
Parameters
open
booltrue if annotation shall initially be open, false - if closed.
Returns
- PdfTextAnnotation
this PdfTextAnnotation instance.
Remarks
Sets a flag specifying whether the annotation shall initially be displayed open. This flag has affect to not all kinds of annotations.
SetState(PdfString)
public virtual PdfTextAnnotation SetState(PdfString state)
Parameters
state
PdfString
Returns
SetStateModel(PdfString)
public virtual PdfTextAnnotation SetStateModel(PdfString stateModel)
Parameters
stateModel
PdfString