corelibraries-devexpress-dot-xtraprinting-dot-imageexportoptions.md
Specifies the image resolution (in DPI).
Namespace : DevExpress.XtraPrinting
Assembly : DevExpress.Printing.v25.2.Core.dll
NuGet Package : DevExpress.Printing.Core
[DefaultValue(96)]
public int Resolution { get; set; }
<DefaultValue(96)>
Public Property Resolution As Integer
| Type | Default | Description |
|---|---|---|
| Int32 | 96 |
An integer value, specifying the image resolution (in DPI).
|
You can access this nested property as listed below:
| Object Type | Path to Resolution |
|---|---|
| ExportOptions |
.Image .Resolution
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Resolution 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.Format = System.Drawing.Imaging.ImageFormat.Png;
imgOptions.Resolution = 150;
imgOptions.PageRange = "1,3-5";
imgOptions.Format = System.Drawing.Imaging.ImageFormat.Png
imgOptions.Resolution = 150
imgOptions.PageRange = "1,3-5"
See Also