Class Underline
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.
Implements
Inherited Members
Namespace: pdftron.PDF.Annots
Assembly: PDFNet.dll
Syntax
public class Underline : TextMarkup, IDisposable
Constructors
Underline(Annot)
Creates a Underline annotation and initialize it using given annotation object.
Declaration
public Underline(Annot ann)
Parameters
Type | Name | Description |
---|---|---|
Annot | ann | the annot |
Remarks
The constructor does not copy any data, but is instead the logical equivalent of a type cast.
Exceptions
Type | Condition |
---|---|
PDFNetException | PDFNetException the PDFNet exception |
Underline(Obj)
Creates a Underline annotation and initialize it using given Cos/SDF object.
Declaration
public Underline(Obj d)
Parameters
Type | Name | Description |
---|---|---|
Obj | d | the d |
Remarks
The constructor does not copy any data, but is instead the logical equivalent of a type cast.
Methods
Create(SDFDoc, Rect)
Creates a new Underline annotation, in the specified document.
Declaration
public static Underline Create(SDFDoc doc, Rect pos)
Parameters
Type | Name | Description |
---|---|---|
SDFDoc | doc | A document to which the Popup annotation is added. |
Rect | pos | A rectangle specifying the Popup annotation's bounds, specified in user space coordinates. |
Returns
Type | Description |
---|---|
Underline | A newly created blank Underline annotation. |
Exceptions
Type | Condition |
---|---|
PDFNetException | PDFNetException the PDFNet exception |
Dispose(bool)
Declaration
[HandleProcessCorruptedStateExceptions]
protected override void Dispose(bool A_0)
Parameters
Type | Name | Description |
---|---|---|
bool | A_0 |