Click or drag to resize

ElementIsOCVisible Method

Checks if is oC visible.

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public bool IsOCVisible()

Return Value

Type: Boolean
true if this element is visible in the optional-content context (OCG::Context). The method considers the context's current OCMD stack, the group ON-OFF states, the non-OC drawing status, the drawing and enumeration mode, and the intent. When enumerating page content, OCG::Context can be passed as a parameter in ElementReader.Begin() method. When using PDFDraw, PDFRasterizer or PDFViewCtrl class to render PDF pages use SetOCGContext() method to select an OC context.
See Also