PdfCosArray Class
Definition
Namespace: Xfinium.Pdf.Core.Cos
Defines a PDF COS array.
Inheritance: Object → PdfCosObject → PdfCosArray
Constructors
| Name | Description |
|---|---|
| PdfCosArray() | Initializes a new PdfCosArray object. |
| PdfCosArray(Double[]) | Initializes a new PdfCosArray object with an array of doubles. |
Properties
| Name | Description |
|---|---|
| Item | Gets or sets the element at the specified index. |
| Length | Gets the number of elements actually contained in the array. |
| Type | Gets the object type. (inherited from PdfCosObject) |
Methods
| Name | Description |
|---|---|
| Add | Adds an object to the end of the array. |
| AddRange | Adds the elements of the specified array to the end of this array. |
| Clear | Removes all elements from the array. |
| GetElementAsBool | Gets the element at the specified index as a boolean. |
| GetElementAsNumber | Gets the element at the specified index as a double. |
| GetElementAsString | Gets the element at the specified index as a string. |
| IndexOf | Searches for the specified object and returns the zero-based index of the first occurrence within the entire array. |
| Insert | Inserts an element into the array at the specified index. |
| Remove | Removes the first occurrence of a specific object from the array. |
| RemoveAt | Removes the element at the specified index of the array. |
| ToString | Returns a String that represents the current Object. |