Name | Description | |
---|---|---|
Add | Adds an item to the IPdfArray. | |
AddString | Adds a string to the IPdfArray. | |
AsArray<T> | Converts all elements of this IPdfArray to T, and copies the converted values to a new array of T.
Returns null if some elements can't be converted to a T. | |
AsBoolArray | Converts all elements of this IPdfArray to bool values, and copies the converted values to a new array of bool.
Returns null if some elements can't be converted to a bool. | |
AsDictArray | Converts all elements of this IPdfArray to IPdfDict, and copies the converted values to a new array of IPdfDict.
Returns null if some elements can't be converted to a IPdfDict. | |
AsFloatArray | Converts all elements of this IPdfArray to float values, and copies the converted values to a new array of floats.
Returns null if some elements can't be converted to an float. | |
AsIntArray | Converts all elements of this IPdfArray to integer values, and copies the converted values to a new array of integers.
Returns null if some elements can't be converted to an integer. | |
AsNameArray | Converts all elements of this IPdfArray to PdfName, and copies the converted values to a new array of PdfName.
Returns null if some elements can't be converted to a PdfName. | |
AsNameArrayStr | Converts all elements of this IPdfArray to PdfName, and copies the converted values to a new array of System.String.
Returns null if some elements can't be converted to a PdfName. | |
AsRefArray | Converts all elements of this IPdfArray to IPdfRef, and copies the converted values to a new array of IPdfRef.
Returns null if some elements can't be converted to a IPdfRef. | |
AsStringArray | Converts all elements of this IPdfArray to string values, and copies the converted values to a new array of strings.
Returns null if some elements can't be converted to a string. | |
Clear | Clears the IPdfArray. | |
Count | Gets the count of items in the IPdfArray. | |
Get<T> | Gets the value at the specified index, returns a null if the value cannot be converted to a T. Note! This method returns IPdfRef if T is IPdfRef, otherwise the method resolves the reference and returns *actual* object. Use GetItem method if you want to return "raw" value without any post-processing. | |
GetArray<T> | Gets the array of T objects at the specified index. Returns null if the array does not exist or cannot be converted to an array of T. | |
GetEnum | Overloaded. Gets the nullable enum value at the specified index. If the value does not exist or cannot be converted to an enum, returns defValue (which can be null). | |
GetFloat | Overloaded. Gets the float value at the specified index.
Returns defValue if the value cannot be converted to a float. | |
GetFloatArray | Gets the Float array at the specified index. | |
GetInt | Overloaded. Gets the int value at the specified index.
Returns defValue if the value cannot be converted to an int. | |
GetIntArray | Gets the Integer array at the specified index. | |
GetItem | Gets an item at specified index. | |
GetName | Gets the PDF name at the specified index as a string.
Returns defValue if the value cannot be converted to a string. | |
GetNameArray | Gets the PDF Name array at the specified index. | |
GetNameArrayStr | Gets the PDF Name array at the specified index, the PDF Name array represented as string. | |
GetPdfStringBytes | Gets the bytes of the IPdfString at the specified index. If the value does not exist or cannot be converted to an IPdfString, returns a null reference (Nothing in Visual Basic). | |
GetString | Gets the string at the specified index.
Returns defValue if the value cannot be converted to a string. | |
Insert | Insert an item into IPdfArray. | |
RemoveAt | Removes an item with specified index. | |
RemoveRange | Removes a range of items. | |
Set | Sets the value at the specified index. | |
SetCount | Sets the count of items in the array to a specified value. If the current count of items is less than count, pads the array with PdfNull.Instance objects. If the current count is greater than count, removes items from the end of the array. | |
SetPdfStringBytes | Sets the IPdfString at the specified index. If the value is a null reference (Nothing in Visual Basic), sets the item to PdfNull. | |
SetSilent | Sets a value associated with a specified index. This method does not affect the value of IPdfArray.Changed property. | |
TryAsArray<T> | Tries to convert all elements of this IPdfArray to T, and copies the converted values to a new array of T. Returns true if all elements can be converted to a T or they are PDF Null and allowNulls is true. | |
TryAsRect | Tries to convert the array to rectangle, the array should have 4 elements and all are numbers. | |
TryGet | Overloaded. Tries to get the value at the specified index. Returns true if value exists and can be converted to a T, resolves a PDF reference if needed. Note! The method does not resolve reference if T is IPdfRef, otherwise the method resolves the reference and returns *actual* object. | |
TryGetArray | Overloaded. Tries to get the array of T objects at the specified index. | |
TryGetBool | Tries to get the System.Boolean value with the specified index. | |
TryGetEnum<T> | Tries to get the enum value at the specified index. If the value does not exist or cannot be converted to an enum, returns false. | |
TryGetFloat | Overloaded. Tries to get the System.Single value at the specified index. | |
TryGetFloatArray | Tries to get the Float array at the specified index. | |
TryGetInt | Tries to get the System.Int32 value at the specified index. | |
TryGetIntArray | Tries to get the Integer array at the specified index. | |
TryGetName | Tries to get the PDF name value with the specified index as a string. | |
TryGetNameArray | Tries to get the PDF Name array at the specified index. | |
TryGetNameArrayStr | Tries to get the PDF Name array at the specified index, the PDF Name array represented as string. | |
TryGetString | Tries to get the System.String value with the specified index. |