Click or drag to resize

PdfObjectExtensionsGetDictionary Method

Gets the PdfDictionary that serves as a backing storage of the specified PdfObject.

Namespace:  GemBox.Pdf.Objects
Assembly:  GemBox.Pdf (in GemBox.Pdf.dll) Version: 13.0.35.1000
Syntax
public static PdfDictionary GetDictionary(
	this PdfObject obj
)

Parameters

obj
Type: GemBox.PdfPdfObject
The PdfObject for which the backing PdfDictionary should be retrieved.

Return Value

Type: 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