corelibraries-devexpress-dot-xtraprinting-dot-imageexportoptions-0e30f182.md
Specifies the image format for exporting a document.
Namespace : DevExpress.XtraPrinting
Assembly : DevExpress.Printing.v25.2.Core.dll
NuGet Package : DevExpress.Printing.Core
public DXImageFormat Format { get; set; }
Public Property Format As DXImageFormat
| Type | Description |
|---|---|
| DXImageFormat |
An object that defines the image format.
|
You can access this nested property as listed below:
| Object Type | Path to Format |
|---|---|
| ExportOptions |
.Image .Format
|
The following image formats are supported:
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Format 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.
imgOptions.ExportMode = ImageExportMode.DifferentFiles;
imgOptions.Format = System.Drawing.Imaging.ImageFormat.Png;
imgOptions.Resolution = 150;
imgOptions.ExportMode = ImageExportMode.DifferentFiles
imgOptions.Format = System.Drawing.Imaging.ImageFormat.Png
imgOptions.Resolution = 150
See Also