ComponentOne FlexReport for WinForms
GetPageImage(Int32,Graphics) Method

C1.Win.FlexReport.4 Assembly > C1.Win.FlexReport Namespace > C1FlexReport Class > GetPageImage Method : GetPageImage(Int32,Graphics) Method
The index of the page.
The reference graphics used to get device context for metafile.
Returns a System.Drawing.Imaging.Metafile representing the specified page.
Syntax
'Declaration
 
Public Overloads Function GetPageImage( _
   ByVal pageIndex As System.Integer, _
   ByVal referenceGraphics As System.Drawing.Graphics _
) As System.Drawing.Imaging.Metafile
public System.Drawing.Imaging.Metafile GetPageImage( 
   System.int pageIndex,
   System.Drawing.Graphics referenceGraphics
)

Parameters

pageIndex
The index of the page.
referenceGraphics
The reference graphics used to get device context for metafile.

Return Value

The System.Drawing.Imaging.Metafile representing the specified page, or null if the page was not found.
See Also

Reference

C1FlexReport Class
C1FlexReport Members
Overload List