Click or drag to resize

PdfObjectExtensionsGetArray(PdfObject) Method

Gets the PdfArray that serves as a backing storage of the specified PdfObject or if no PdfArray serves as a backing storage of the specified PdfObject.

Namespace: SautinSoft.Pdf.Objects
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2024.8.8
Syntax
public static PdfArray GetArray(
	this PdfObject obj
)

Parameters

obj  PdfObject
The PdfObject for which the backing PdfArray should be retrieved.

Return Value

PdfArray
A PdfArray that serves as a backing storage of the specified PdfObject or if no PdfArray serves as a backing storage of the specified PdfObject.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type PdfObject. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
ArgumentNullExceptionobj is .
Remarks
Caution note  Caution
Changes made to the returned PdfArray are not verified to be in accordance with the PDF Specification ISO 32000-1:2008 so make them at your own risk.
See Also