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 should /P be absent
ocmpAllOn/AllOn: visible only when all of the listed OCGs are ON
ocmpAnyOff/AnyOff: visible when at least one of the listed OCGs is OFF
ocmpAllOff/AllOff: visible only when all of the listed OCGs are OFF

Usage notes

Related APIs