XFINIUM.PDF Documentation
ExtractPageContent(Int32,Boolean,Boolean) Method



Xfinium.Pdf.Core Namespace > PdfFile Class > ExtractPageContent Method : ExtractPageContent(Int32,Boolean,Boolean) Method
The page to extract the content from.
True if annotations should be flattened and included in page content
True if form fields should be flattened and included in page content
Extracts the content of a PDF page.
Syntax
'Declaration
 
Public Overloads Function ExtractPageContent( _
   ByVal pageNumber As Integer, _
   Optional ByVal includeAnnotations As Boolean, _
   Optional ByVal includeFormFields As Boolean _
) As PdfPageContent
'Usage
 
Dim instance As PdfFile
Dim pageNumber As Integer
Dim includeAnnotations As Boolean
Dim includeFormFields As Boolean
Dim value As PdfPageContent
 
value = instance.ExtractPageContent(pageNumber, includeAnnotations, includeFormFields)
public PdfPageContent ExtractPageContent( 
   int pageNumber,
   bool includeAnnotations,
   bool includeFormFields
)
public:
PdfPageContent^ ExtractPageContent( 
   int pageNumber,
   bool includeAnnotations,
   bool includeFormFields
) 

Parameters

pageNumber
The page to extract the content from.
includeAnnotations
True if annotations should be flattened and included in page content
includeFormFields
True if form fields should be flattened and included in page content

Return Value

The page content 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
Overload List