Class PdfArray
Inheritance
Namespace: Syncfusion.Pdf.Primitives
Assembly: Syncfusion.Pdf.UWP.dll
Syntax
public class PdfArray : Object, IPdfPrimitive, IEnumerable, IPdfChangable
Constructors
PdfArray()
Initializes a new instance of the PdfArray class.
Declaration
public PdfArray()
PdfArray(Double[])
Initializes a new instance of the PdfArray class.
Declaration
public PdfArray(double[] array)
Parameters
Type | Name | Description |
---|---|---|
System.Double[] | array | The array. |
Fields
EndMark
Declaration
public const string EndMark = "]"
Field Value
Type |
---|
System.String |
StartMark
Declaration
public const string StartMark = "["
Field Value
Type |
---|
System.String |
Properties
Changed
Gets a value indicating whether this PdfArray is changed.
Declaration
public bool Changed { get; }
Property Value
Type |
---|
System.Boolean |
ClonedObject
Returns cloned object.
Declaration
public IPdfPrimitive ClonedObject { get; }
Property Value
Type |
---|
IPdfPrimitive |
Count
Gets the count.
Declaration
public int Count { get; }
Property Value
Type |
---|
System.Int32 |
IsSaving
Gets or sets a value indicating whether this document is saving or not.
Declaration
public bool IsSaving { get; set; }
Property Value
Type |
---|
System.Boolean |
Item[Int32]
Gets the IPdfSavable at the specified index.
Declaration
public IPdfPrimitive this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Property Value
Type |
---|
IPdfPrimitive |
ObjectCollectionIndex
Gets or sets the integer value of the specified object.
Declaration
public int ObjectCollectionIndex { get; set; }
Property Value
Type |
---|
System.Int32 |
Position
Gets or sets the position of the object.
Declaration
public int Position { get; set; }
Property Value
Type |
---|
System.Int32 |
Status
Gets or sets the Status of the specified object.
Declaration
public ObjectStatus Status { get; set; }
Property Value
Type |
---|
ObjectStatus |
Methods
Clone(PdfCrossTable)
Creates a copy of PdfArray.
Declaration
public IPdfPrimitive Clone(PdfCrossTable crossTable)
Parameters
Type | Name | Description |
---|---|---|
PdfCrossTable | crossTable |
Returns
Type |
---|
IPdfPrimitive |
FreezeChanges(Object)
Freezes the changes.
Declaration
public void FreezeChanges(object freezer)
Parameters
Type | Name | Description |
---|---|---|
System.Object | freezer | The freezer. |
FromRectangle(Rectangle)
Creates filled PDF array from the rectangle.
Declaration
public static PdfArray FromRectangle(Rectangle rectangle)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Rectangle | rectangle | The rectangle. |
Returns
Type | Description |
---|---|
PdfArray | The filled in PdfArray instance. |
FromRectangle(RectangleF)
Creates filled PDF array from the rectangle.
Declaration
public static PdfArray FromRectangle(RectangleF rectangle)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.RectangleF | rectangle | The rectangle. |
Returns
Type | Description |
---|---|
PdfArray | The filled in PdfArray instance. |
GetEnumerator()
Returns an enumerator that iterates through a collection.
Declaration
public IEnumerator GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator | An System.Collections.IEnumerator object that can be used to iterate through the collection. |
MarkChanged()
Marks the object changed.
Declaration
public void MarkChanged()
Save(IPdfWriter)
Saves the object using the specified writer.
Declaration
public virtual void Save(IPdfWriter writer)
Parameters
Type | Name | Description |
---|---|---|
IPdfWriter | writer | The writer. |
ToRectangle()
Converts an instance of the PdfArray to the RectangleF.
Declaration
public RectangleF ToRectangle()
Returns
Type | Description |
---|---|
System.Drawing.RectangleF | The properly filled RectangleF structure. |