Table of Contents

Property DpuY

Namespace
PaintDotNet
Assembly
PaintDotNet.Data.dll

DpuY

Gets or sets the Document's dots-per-unit scale in the Y direction.

public double DpuY { get; set; }

Property Value

double

Remarks

If DpuUnit is equal to MeasurementUnit.Pixel, then this property may not be set to any value other than 1.0. Setting DpuUnit to MeasurementUnit.Pixel will reset this property to 1.0. This property may only be set to a value greater than 0. One dot is always equal to one pixel. This property will not return a value less than MinimumDpu, nor a value larger than MaximumDpu.