Skip to content

PdfPageGraphics.BeginOptionalContentGroup Method

BeginOptionalContentGroup(PdfOptionalContentBase)

Begins an optional content group in the page graphics.

C#
public void BeginOptionalContentGroup(PdfOptionalContentBase optionalContent)

Parameters

optionalContent PdfOptionalContentBase

The group object associated with the graphics.

Remarks

Each call to BeginOptionalContentGroup must be paired with a call to EndOptionalContentGroup.
The page must be included in a document before creating optional content on it.