Document Solutions for PDF
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / IPdfArrayExt Class
Methods

In This Topic
    IPdfArrayExt Class Members
    In This Topic

    The following tables list the members exposed by IPdfArrayExt.

    Public Methods
     NameDescription
    Public Methodstatic (Shared in Visual Basic)Adds an item to the IPdfArray.  
    Public Methodstatic (Shared in Visual Basic)Adds a string to the IPdfArray.  
    Public Methodstatic (Shared in Visual Basic)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.

     
    Public Methodstatic (Shared in Visual Basic)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.

     
    Public Methodstatic (Shared in Visual Basic)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.

     
    Public Methodstatic (Shared in Visual Basic)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.

     
    Public Methodstatic (Shared in Visual Basic)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.

     
    Public Methodstatic (Shared in Visual Basic)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.

     
    Public Methodstatic (Shared in Visual Basic)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.

     
    Public Methodstatic (Shared in Visual Basic)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.

     
    Public Methodstatic (Shared in Visual Basic)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.

     
    Public Methodstatic (Shared in Visual Basic)Clears the IPdfArray.  
    Public Methodstatic (Shared in Visual Basic)Gets the count of items in the IPdfArray.  
    Public Methodstatic (Shared in Visual Basic)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.  
    Public Methodstatic (Shared in Visual Basic)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.  
    Public Methodstatic (Shared in Visual Basic)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).  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Gets the float value at the specified index.

    Returns defValue if the value cannot be converted to a float.

     
    Public Methodstatic (Shared in Visual Basic)Gets the Float array at the specified index.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Gets the int value at the specified index.

    Returns defValue if the value cannot be converted to an int.

     
    Public Methodstatic (Shared in Visual Basic)Gets the Integer array at the specified index.  
    Public Methodstatic (Shared in Visual Basic)Gets an item at specified index.  
    Public Methodstatic (Shared in Visual Basic)Gets the PDF name at the specified index as a string.

    Returns defValue if the value cannot be converted to a string.

     
    Public Methodstatic (Shared in Visual Basic)Gets the PDF Name array at the specified index.  
    Public Methodstatic (Shared in Visual Basic)Gets the PDF Name array at the specified index, the PDF Name array represented as string.  
    Public Methodstatic (Shared in Visual Basic)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).  
    Public Methodstatic (Shared in Visual Basic)Gets the string at the specified index.

    Returns defValue if the value cannot be converted to a string.

     
    Public Methodstatic (Shared in Visual Basic)Insert an item into IPdfArray.  
    Public Methodstatic (Shared in Visual Basic)Removes an item with specified index.  
    Public Methodstatic (Shared in Visual Basic)Removes a range of items.  
    Public Methodstatic (Shared in Visual Basic)Sets the value at the specified index.  
    Public Methodstatic (Shared in Visual Basic)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.  
    Public Methodstatic (Shared in Visual Basic)Sets the value at the specified index, adds null elements if index is too big.  
    Public Methodstatic (Shared in Visual Basic)Sets the value at the specified index, adds null elements if index is too big, the method does not affect the IPdfArray.Changed. Returns true if object was actually changed.  
    Public Methodstatic (Shared in Visual Basic)Sets the IPdfString at the specified index. If the value is a null reference (Nothing in Visual Basic), sets the item to PdfNull.  
    Public Methodstatic (Shared in Visual Basic)Sets a value associated with a specified index. This method does not affect the value of IPdfArray.Changed property.  
    Public Methodstatic (Shared in Visual Basic)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.  
    Public Methodstatic (Shared in Visual Basic)Tries to convert the array to rectangle, the array should have 4 elements and all are numbers.  
    Public Methodstatic (Shared in Visual Basic)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.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Tries to get the array of T objects at the specified index.  
    Public Methodstatic (Shared in Visual Basic)Tries to get the System.Boolean value with the specified index.  
    Public Methodstatic (Shared in Visual Basic)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.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Tries to get the System.Single value at the specified index.  
    Public Methodstatic (Shared in Visual Basic)Tries to get the Float array at the specified index.  
    Public Methodstatic (Shared in Visual Basic)Tries to get the System.Int32 value at the specified index.  
    Public Methodstatic (Shared in Visual Basic)Tries to get the Integer array at the specified index.  
    Public Methodstatic (Shared in Visual Basic)Tries to get the PDF name value with the specified index as a string.  
    Public Methodstatic (Shared in Visual Basic)Tries to get the PDF Name array at the specified index.  
    Public Methodstatic (Shared in Visual Basic)Tries to get the PDF Name array at the specified index, the PDF Name array represented as string.  
    Public Methodstatic (Shared in Visual Basic)Tries to get the System.String value with the specified index.  
    Top
    See Also