Click or drag to resize

PdfObjectExtensionsGetDictionary Method

Gets the PdfDictionary that 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 PdfDictionary GetDictionary(
	this PdfObject obj
)

Parameters

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

Return Value

PdfDictionary
A PdfDictionary that 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 PdfDictionary are not verified to be in accordance with the PDF Specification ISO 32000-1:2008 so make them at your own risk.
See Also