XFINIUM.PDF Documentation
GetPageGraphics Method



Xfinium.Pdf.Core Namespace > PdfFileEx Class : GetPageGraphics Method
The page number for which the graphics surface should be retrieved.
The position of page graphics, under or on top of existing page content.
Gets the page graphics for the specified page.
Syntax
'Declaration
 
Public Function GetPageGraphics( _
   ByVal pageNumber As Integer, _
   ByVal pageGraphicsPosition As PdfPageGraphicsPosition _
) As PdfPageGraphics
'Usage
 
Dim instance As PdfFileEx
Dim pageNumber As Integer
Dim pageGraphicsPosition As PdfPageGraphicsPosition
Dim value As PdfPageGraphics
 
value = instance.GetPageGraphics(pageNumber, pageGraphicsPosition)

Parameters

pageNumber
The page number for which the graphics surface should be retrieved.
pageGraphicsPosition
The position of page graphics, under or on top of existing page content.

Return Value

A Xfinium.Pdf.Graphics.PdfPageGraphics object that allows to draw on page surface.
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

PdfFileEx Class
PdfFileEx Members