XFINIUM.PDF Documentation
BeginOptionalContentGroup Method



Xfinium.Pdf.Graphics Namespace > PdfPageGraphics Class : BeginOptionalContentGroup Method
The group object associated with the graphics.
Begins an optional content group in the page graphics.
Syntax
'Declaration
 
Public Sub BeginOptionalContentGroup( _
   ByVal optionalContent As PdfOptionalContentBase _
) 
'Usage
 
Dim instance As PdfPageGraphics
Dim optionalContent As PdfOptionalContentBase
 
instance.BeginOptionalContentGroup(optionalContent)
public void BeginOptionalContentGroup( 
   PdfOptionalContentBase optionalContent
)
public:
void BeginOptionalContentGroup( 
   PdfOptionalContentBase^ optionalContent
) 

Parameters

optionalContent
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.
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PdfPageGraphics Class
PdfPageGraphics Members