Skip to main content
A newer version of this page is available. .

ImageBrick.UseImageResolution Property

Specifies whether the original or default image DPI (dots per inch) value should be taken into account when rendering the image in a document.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v19.1.Core.dll

Declaration

[XtraSerializableProperty]
[DefaultValue(false)]
public bool UseImageResolution { get; set; }

Property Value

Type Default Description
Boolean **false**

true to use the original image resolution; otherwise false.

Remarks

When this property is set to false, the image DPI is considered to be equal to 96 DIP (device-independent pixels) and the image will have a consistent resolution when exported or rendered in a print preview on different devices.

To make the image DPI equal to the screen resolution, set this property to true and manually specify the image resolution by calling the SetResolution method.

See Also