Class Polygon
Polygon annotation
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: pdftron.PDF.Annots
Assembly: PDFNetAndroid.dll
Syntax
public class Polygon : PolyLine, IDisposable
Constructors
Polygon(Annot)
Creates a Polygon annotation and initialize it using given annotation object.
Declaration
public Polygon(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 |
Polygon(Obj)
Creates a Polygon annotation and initialize it using given Cos/SDF object.
Declaration
public Polygon(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 Polygon annotation, in the specified document.
Declaration
public static Polygon Create(SDFDoc doc, Rect pos)
Parameters
Type | Name | Description |
---|---|---|
SDFDoc | doc | A document to which the Polygon annotation is added. |
Rect | pos | A rectangle specifying the PolyLine annotation's bounds, specified in user space coordinates. |
Returns
Type | Description |
---|---|
Polygon | A newly created blank PolyLine annotation. |
Exceptions
Type | Condition |
---|---|
PDFNetException | PDFNetException the PDFNet exception |
Finalize()
Releases all resources used by the Polygon
Declaration
protected void Finalize()
Implements
System.IDisposable