Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / IPdfArrayExt Class / SetCount Method
The current PDF array.
The required item count.

In This Topic
    SetCount Method
    In This Topic
    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.
    Syntax
    'Declaration
     
    Public Shared Sub SetCount( _
       ByVal array As IPdfArray, _
       ByVal count As System.Integer _
    ) 
    public static void SetCount( 
       IPdfArray array,
       System.int count
    )

    Parameters

    array
    The current PDF array.
    count
    The required item count.
    See Also