[]
        
(Showing Draft Content)

C1.C1Preview.Export.ExportUtil

ExportUtil Class

Provides static utility methods for export and printing.

Inheritance
ExportUtil
Namespace: C1.C1Preview.Export
Assembly: C1.PrintDocument.4.8.dll
Syntax
public static class ExportUtil

Methods

Name Description
GetMaxPageNumber(object)

Gets the maximum valid physical page number (1-based index) for the specified document.

GetMaxPageNumber(object, int)

Gets the maximum valid physical page number (1-based index) for the specified document.

GetMinPageNumber(object)

Returns the minimum page number for the specified document.

GetPageMetafile(C1PrintDocument, int)

Gets the page metafile for export or printing.

GetPageMetafile(IC1Document, int, PageDrawParams)

Gets the page metafile for export or printing.

GetPageMetafile(int, IList, object, PageDrawParams)

Gets the page metafile for export or printing.

GetPages(object, out int)

Gets the list of page images representing the document, or null if the document is a C1Preview.

PageExists(int, IList, object)

Tests whether the page with the specified number exists in the document.

PageIndexToPageNumber(int, object)

Converts a 0-based page index to the logical 1-based page number.

PageIndicesToPageNumbers(int[], object)

Converts an array of 0-based physical page indices to an array of 1-based logical page numbers.