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
)
Public Shared Function Create (
doc As PDFDoc,
ocgs As Obj,
vis_policy As OCMDVisibilityPolicyType
) As OCMD
public:
static OCMD^ Create(
[InAttribute] PDFDoc^ doc,
[InAttribute] Obj^ ocgs,
[InAttribute] OCMDVisibilityPolicyType vis_policy
)
pdftron.PDF.OCG.OCMD.Create = function(doc, ocgs, 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