[]
        
(Showing Draft Content)

C1.C1Preview.Export.ExportUtil.GetPageMetafile

GetPageMetafile Method

GetPageMetafile(int, IList, object, PageDrawParams)

Gets the page metafile for export or printing.

Declaration
public static Metafile GetPageMetafile(int pageNo, IList pages, object document, PageDrawParams pdp)
Parameters
Type Name Description
int pageNo

The physical page number (1-based index).

IList pages

The pages collection (may be null).

object document

The document (may be null).

PageDrawParams pdp

Specifies drawing params.

Returns
Type Description
Metafile

The page metafile.

GetPageMetafile(IC1Document, int, PageDrawParams)

Gets the page metafile for export or printing.

Declaration
public static Metafile GetPageMetafile(IC1Document document, int pageIdx, PageDrawParams pdp)
Parameters
Type Name Description
IC1Document document

The object supporting IC1Document.

int pageIdx

The 0-based page index.

PageDrawParams pdp

Specifies drawing params.

Returns
Type Description
Metafile

The page metafile.

GetPageMetafile(C1PrintDocument, int)

Gets the page metafile for export or printing.

Declaration
public static Metafile GetPageMetafile(C1PrintDocument document, int pageIdx)
Parameters
Type Name Description
C1PrintDocument document

The C1PrintDocument object.

int pageIdx

The 0-based page index.

Returns
Type Description
Metafile

The page metafile.