ImageExportOptions.ExportMode Property
Specifies whether document pages are exported to a single or multiple images.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Printing.v24.1.Core.dll
NuGet Package: DevExpress.Printing.Core
#Declaration
[XtraSerializableProperty]
public ImageExportMode ExportMode { get; set; }
#Property Value
Type | Description |
---|---|
Image |
An Image |
Available values:
Name | Description |
---|---|
Single |
Exports the document to a single image without indicating the borders of individual pages. The document’s page headers and footers, and the top and bottom margins are repeated only once - at the beginning and end of the resulting image. When this export mode is used, the Image |
Single |
The document is exported to a single image with borders drawn around each page. The document’s page headers and footers, and top and bottom margins appear on every page. The border settings are specified by the Image |
Different |
Exports each document page to a separate image (with the image file name indicating the page number). The document’s page headers and footers, and the top and bottom margins are repeated only once - at the beginning and end of the resulting image. |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Export |
---|---|
Export |
|
#Remarks
The following image export modes are available:
Export Mode | Description |
---|---|
Exports the document to a single image without indicating the borders of individual pages. The document’s page headers and footers, and the top and bottom margins are repeated only once - at the beginning and end of the resulting image. When this export mode is used, the Image | |
The document is exported to a single image with borders drawn around each page. The document’s page headers and footers, and top and bottom margins appear on every page. The border settings are specified by the Image | |
Exports each document page to a separate image (with the image file name indicating the page number). The document’s page headers and footers, and the top and bottom margins are repeated only once - at the beginning and end of the resulting image. |
#Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the ExportMode property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.