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



Xfinium.Pdf.Core Namespace > PdfFile Class > ExtractPageContent Method : ExtractPageContent(Int32,PdfVisualRectangle,Boolean,Boolean) Method
The page to extract the content from.
A rectangle to clip the page content to specified area.
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, _
   ByVal clipRectangle As PdfVisualRectangle, _
   Optional ByVal includeAnnotations As Boolean, _
   Optional ByVal includeFormFields As Boolean _
) As PdfPageContent
'Usage
 
Dim instance As PdfFile
Dim pageNumber As Integer
Dim clipRectangle As PdfVisualRectangle
Dim includeAnnotations As Boolean
Dim includeFormFields As Boolean
Dim value As PdfPageContent
 
value = instance.ExtractPageContent(pageNumber, clipRectangle, includeAnnotations, includeFormFields)

Parameters

pageNumber
The page to extract the content from.
clipRectangle
A rectangle to clip the page content to specified area.
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