Click or drag to resize

OCMD.Create 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.PDF.PDFDoc
The document in which the new OCMD will be created.
ocgs
Type: pdftron.SDF.Obj
An Array of optional-content groups (OCGs) to be members of the dictionary.
vis_policy
Type: pdftron.PDF.OCG.OCMDVisibilityPolicyType
the vis_policy

Return Value

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