THPDFOCMDPolicy Type

Selects the /P visibility policy of an optional content membership dictionary (v2.502.0; ISO 32000-1 8.11.2.2)

Declaration

THPDFOCMDPolicy= (ocmpAnyOn, ocmpAllOn, ocmpAnyOff, ocmpAllOff);

Unit

HPDFDoc

Values

ValueMeaning
ocmpAnyOn/AnyOn: the membership is visible when at least one listed OCG is ON; this is the PDF default when /P is absent
ocmpAllOn/AllOn: visible only when every listed OCG is ON
ocmpAnyOff/AnyOff: visible when at least one listed OCG is OFF
ocmpAllOff/AllOff: visible only when every listed OCG is OFF

Usage notes

Related APIs