XFINIUM.PDF Documentation
AddOptionalContentGroup Method



Xfinium.Pdf.Actions Namespace > PdfSetOptionalContentGroupStateAction Class : AddOptionalContentGroup Method
The optional content group whose state will be changed.
Adds a new optional content group to this action.
Syntax
'Declaration
 
Public Sub AddOptionalContentGroup( _
   ByVal ocg As PdfOptionalContentGroup _
) 
'Usage
 
Dim instance As PdfSetOptionalContentGroupStateAction
Dim ocg As PdfOptionalContentGroup
 
instance.AddOptionalContentGroup(ocg)
public void AddOptionalContentGroup( 
   PdfOptionalContentGroup ocg
)
public:
void AddOptionalContentGroup( 
   PdfOptionalContentGroup^ ocg
) 

Parameters

ocg
The optional content group whose state will be changed.
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

PdfSetOptionalContentGroupStateAction Class
PdfSetOptionalContentGroupStateAction Members