Click or drag to resize

PDFDocHasOC Method

Gets the structure tree.
Checks for oc.

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public bool HasOC()

Return Value

Type: Boolean
document's logical structure tree root.

Return Value

Type: Boolean
true if the optional content (OC) feature is associated with the document. The document is considered to have optional content if there is an OCProperties dictionary in the document's catalog, and that dictionary has one or more entries in the OCGs Array.
See Also