Represents the elements of an PdfArray.
Inheritance Hierarchy
PdfEdit.PdfPdfArrayArrayElements
Namespace: PdfEdit.Pdf
Assembly: PdfPrintingNet (in PdfPrintingNet.dll) Version: 5.1.1.0 (5.1.1.0)
Syntax
public sealed class ArrayElements : IList<PdfItem>, ICollection<PdfItem>, IEnumerable<PdfItem>, IEnumerable, ICloneable
The PdfArrayArrayElements type exposes the following members.
Methods
Name | Description | |
---|---|---|
Add |
Appends the specified object to the array.
| |
Clear |
Removes all items from the array.
| |
Clone |
Creates a shallow copy of this object.
| |
Contains |
Determines whether the specified value is in the array.
| |
CopyTo |
Copies the elements of the array to the specified array.
| |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
GetArray |
Gets the PdfArray with the specified index, or null, if no such object exists. If the index refers to
a reference, the referenced PdfArray is returned.
| |
GetBoolean |
Converts the specified value to boolean.
If the value does not exist, the function returns false.
If the value is not convertible, the function throws an InvalidCastException.
If the index is out of range, the function throws an ArgumentOutOfRangeException.
| |
GetDictionary |
Gets the PdfArray with the specified index, or null, if no such object exists. If the index refers to
a reference, the referenced PdfArray is returned.
| |
GetEnumerator |
Returns an enumerator that iterates through the array.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetIndirectObject | Obsolete.
Returns the indirect object if the value at the specified index is a PdfReference.
| |
GetInteger |
Converts the specified value to integer.
If the value does not exist, the function returns 0.
If the value is not convertible, the function throws an InvalidCastException.
If the index is out of range, the function throws an ArgumentOutOfRangeException.
| |
GetName |
Converts the specified value to a name.
If the value does not exist, the function returns the empty string.
If the value is not convertible, the function throws an InvalidCastException.
If the index is out of range, the function throws an ArgumentOutOfRangeException.
| |
GetObject |
Gets the PdfObject with the specified index, or null, if no such object exists. If the index refers to
a reference, the referenced PdfObject is returned.
| |
GetReal |
Converts the specified value to double.
If the value does not exist, the function returns 0.
If the value is not convertible, the function throws an InvalidCastException.
If the index is out of range, the function throws an ArgumentOutOfRangeException.
| |
GetReference |
Gets the PdfReference with the specified index, or null, if no such object exists.
| |
GetString |
Converts the specified value to string.
If the value does not exist, the function returns the empty string.
If the value is not convertible, the function throws an InvalidCastException.
If the index is out of range, the function throws an ArgumentOutOfRangeException.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IndexOf |
Gets the index of the specified item.
| |
Insert |
Inserts the item the specified index.
| |
Remove |
Removes the first occurrence of a specific object from the array/>.
| |
RemoveAt |
Removes the item at the specified index.
| |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
Count |
Gets the number of elements in the array.
| |
IsFixedSize |
Returns false.
| |
IsReadOnly |
Returns false.
| |
IsSynchronized |
Returns false.
| |
Item |
Gets or sets an item at the specified index.
| |
Items |
Gets all items of this array.
| |
SyncRoot |
The current implementation return null.
|
See Also