Table of Contents

Property Resolution

Namespace
PaintDotNet.FileTypes
Assembly
PaintDotNet.FileTypes.dll

Resolution

Gets or sets the resolution of the document, in either dots-per-inch (DPI) or dots-per-centimeter (DPCM).

Resolution Resolution { get; set; }

Property Value

Resolution

Remarks

This property's value is stored in the EXIF metadata using the XResolution, YResolution, and ResolutionUnit tags. Only dots-per-inch and dots-per-centimeter units are supported. An attempt to set this property with an invalid unit will throw an exception.