Skip to main content

ImageBrick.UseImageResolution Property

Gets or sets whether to use the original image DPI (dots per inch) value when the image is rendered in a document.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v24.2.Core.dll

Declaration

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

Property Value

Type Default Description
Boolean false

true, to use the image resolution; otherwise false.

Remarks

Set this property to false to use images that have no DPI settings, and to render these images with the same size on any device.

When this property is set to false, the value of 96 DPI is used.

Set this property to true to use the DPI value specified in the image. Call the SetResolution(Single, Single) method to specify a custom resolution for an image.

See Also