[]
        
(Showing Draft Content)

C1.C1Preview.C1MultiDocument.PageAsMetafile

PageAsMetafile Method

PageAsMetafile(int, PageDrawParams)

Gets a Metafile that represents the specified page.

Declaration
public Metafile PageAsMetafile(int pageIndex, PageDrawParams pdp)
Public Function PageAsMetafile(pageIndex As Integer, pdp As PageDrawParams) As Metafile
Parameters
Type Name Description
int pageIndex

The page index (0-based).

PageDrawParams pdp

Specifies drawing params.

Returns
Type Description
Metafile

The Metafile representing the specified page, or null if index was invalid.

PageAsMetafile(int, bool, SmoothingMode)

Gets a Metafile that represents the specified page.

Declaration
public Metafile PageAsMetafile(int pageIndex, bool renderInputControls, SmoothingMode smoothingMode)
Public Function PageAsMetafile(pageIndex As Integer, renderInputControls As Boolean, smoothingMode As SmoothingMode) As Metafile
Parameters
Type Name Description
int pageIndex

The page index (0-based).

bool renderInputControls

A value indicating whether to render input (preview forms) controls.

SmoothingMode smoothingMode

The smoothing mode to use.

Returns
Type Description
Metafile

The Metafile representing the specified page, or null if index was invalid.

PageAsMetafile(int)

Gets a Metafile representing the specified page.

Declaration
public Metafile PageAsMetafile(int pageIndex)
Public Function PageAsMetafile(pageIndex As Integer) As Metafile
Parameters
Type Name Description
int pageIndex

The page index (0-based).

Returns
Type Description
Metafile

The Metafile representing the specified page, or null if index was invalid.