Click or drag to resize

PdfTypeArray Class

Represents the Array type of objects
Inheritance Hierarchy
SystemObject
  Patagames.Pdf.Net.BasicTypesPdfTypeBase
    Patagames.Pdf.Net.BasicTypesPdfTypeArray

Namespace: Patagames.Pdf.Net.BasicTypes
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.89.2704
Syntax
public class PdfTypeArray : PdfTypeBase, 
	IList<PdfTypeBase>, ICollection<PdfTypeBase>, IEnumerable<PdfTypeBase>, 
	IEnumerable

The PdfTypeArray type exposes the following members.

Constructors
 NameDescription
Public methodPdfTypeArray Construct new instance of PdfTypeArray class from given Handle
Top
Properties
 NameDescription
Public propertyCount Gets the number of elements contained in the Array.
Public propertyIsReadOnly Gets a value indicating whether the Array is read-only.
Public propertyItem Gets or sets the element at the specified index
Top
Methods
 NameDescription
Public methodAdd(PdfTypeBase) Adds an item to the Array
Public methodAdd(PdfTypeBase, PdfIndirectList) Adds an item to the Array
Public methodAddIndirect(PdfIndirectList, PdfTypeBase) Creates an Indirect object and adds it to the Array.
Public methodAddIndirect(PdfIndirectList, Int32) Creates an Indirect object and adds it to the Array.
Public methodAddInteger Adds the integer value to the Array.
Public methodAddName Creates a Name object and adds it to the Array.
Public methodAddReal Adds a real value to the Array.
Public methodAddString Adds the ansi string to the Array.
Public methodClear Removes all items from the Array
Public methodContains Determines whether the Array contains a specific value.
Public methodCopyTo Copies the elements of the Array to an System.Array, starting at a particular System.Array index.
Public methodStatic memberCreate Creates new Array object
Public methodStatic memberCreate(IntPtr) Creates new instance of PdfTypeArray class
Public methodGetAt Gets the element at the specified index
Public methodGetBooleanAt Gets the element with the specified index and returns it as a boolean value.
Public methodGetEnumerator Returns an enumerator that iterates through the collection.
Public methodGetIntegerAt Gets the element with the specified index and returns it as an integer value.
Public methodGetMatrixAt Gets the element with the specified index and returns it as a matrix.
Public methodGetRealAt Gets the element with the specified index and returns it as a Real number.
Public methodGetRectAt Gets the element with the specified index and returns it as a rectangle.
Public methodGetStringAt Gets the element with the specified index and returns it as an ANSI string.
Public methodIndexOf Determines the index of a specific item in the Array.
Public methodInsert(Int32, PdfTypeBase) Inserts an item to the Array at the specified index.
Public methodInsert(Int32, PdfTypeBase, PdfIndirectList) Inserts an item to the Array at the specified index.
Public methodRemove Removes the first occurrence of a specific object from the Array.
Public methodRemoveAt Removes the System.Collections.Generic.IList`1 item at the specified index.
Public methodSetAt(Int32, PdfTypeBase) Sets the element at the specified index
Public methodSetAt(Int32, PdfTypeBase, PdfIndirectList) Sets the element at the specified index
Top
Remarks
An array object is a one-dimensional collection of objects arranged sequentially. Unlike arrays in many other computer languages, PDF arrays may be heterogeneous; that is, an array’s elements may be any combination of numbers, strings, dictionaries, or any other objects, including other arrays. The number of elements in an array is subject to an implementation limit;
See Also