API Reference
Class
OfficeImageResolution
Immutable native image resolution values and their physical unit or aspect-ratio unit.
Inheritance
- Object
- OfficeImageResolution
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property OfficeImageMetadata.Resolution
- Property OfficeTiffEncodeOptions.Resolution
Constructors
public OfficeImageResolution(Double horizontal, Double vertical, OfficeImageResolutionUnit unit = PixelsPerInch) #Creates a resolution using finite, positive values and a defined unit.
Parameters
- horizontal System.Double
- vertical System.Double
- unit OfficeIMO.Drawing.OfficeImageResolutionUnit = PixelsPerInch
Inherited Methods
Properties
public Double Horizontal { get; } #Horizontal resolution in Unit.
public Double Vertical { get; } #Vertical resolution in Unit.
public OfficeImageResolutionUnit Unit { get; } #The native physical unit, or unitless aspect ratio.
public Nullable<Double> PhysicalDpiX { get; } #Horizontal physical DPI, or null for a unitless aspect ratio.
public Nullable<Double> PhysicalDpiY { get; } #Vertical physical DPI, or null for a unitless aspect ratio.