Click or drag to resize

PdfArrayCreate(Int32) Method

Creates a new instance of the PdfArray class that is empty and has the specified initial capacity.

Namespace: SautinSoft.Pdf.Objects
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2025.4.23
Syntax
public static PdfArray Create(
	int capacity
)

Parameters

capacity  Int32
The number of PdfBasicObjects that the new array can initially store.

Return Value

PdfArray
A new instance of the PdfArray class that is empty and has the specified initial capacity.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptioncapacity is less than 0.
See Also