XFINIUM.PDF Documentation
ExtractPageOptionalContentGroup Method



Xfinium.Pdf.Core Namespace > PdfFile Class : ExtractPageOptionalContentGroup Method
The page to extract the optional content from.
The name of the optional content group to be extracted.
Extracts the content of an optional content group.
Syntax
'Declaration
 
Public Function ExtractPageOptionalContentGroup( _
   ByVal pageNumber As Integer, _
   ByVal ocgName As String _
) As PdfPageOptionalContent
'Usage
 
Dim instance As PdfFile
Dim pageNumber As Integer
Dim ocgName As String
Dim value As PdfPageOptionalContent
 
value = instance.ExtractPageOptionalContentGroup(pageNumber, ocgName)
public PdfPageOptionalContent ExtractPageOptionalContentGroup( 
   int pageNumber,
   string ocgName
)
public:
PdfPageOptionalContent^ ExtractPageOptionalContentGroup( 
   int pageNumber,
   String^ ocgName
) 

Parameters

pageNumber
The page to extract the optional content from.
ocgName
The name of the optional content group to be extracted.

Return Value

The page optional content group in vector format.
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

PdfFile Class
PdfFile Members