Click or drag to resize

OCMDCreate Method

Creates a new optional-content membership dictionary (OCMD) object in the given document for the given groups and visibility policy.

Namespace:  pdftron.PDF.OCG
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public static OCMD Create(
	PDFDoc doc,
	Obj ocgs,
	OCMDVisibilityPolicyType vis_policy
)

Parameters

doc
Type: pdftron.PDFPDFDoc
The document in which the new OCMD will be created.
ocgs
Type: pdftron.SDFObj
An Array of optional-content groups (OCGs) to be members of the dictionary.
vis_policy
Type: pdftron.PDF.OCGOCMDVisibilityPolicyType
the vis_policy

Return Value

Type: OCMD
The newly created OCG::OCMD object.
See Also