Class
OfficeImageResolution
OfficeIMO.Drawing
Immutable native image resolution values and their physical unit or aspect-ratio unit.
Inheritance
- object
- OfficeImageResolution
Usage
Explore 4 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 4
- Property OfficeImageMetadata.Resolution
- Property OfficeImageResolutionEvidence.Resolution
- Property OfficeRasterEncodingOptions.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 double
- vertical double
- unit OfficeIMO.Drawing.OfficeImageResolutionUnit = PixelsPerInch
Inherited Methods
Properties
public double Horizontal { get; } #Horizontal resolution in OfficeImageResolution.Unit.
public double Vertical { get; } #Vertical resolution in OfficeImageResolution.Unit.
public OfficeImageResolutionUnit Unit { get; } #The native physical unit, or unitless aspect ratio.
public double? PhysicalDpiX { get; } #Horizontal physical DPI, or null for a unitless aspect ratio.
public double? PhysicalDpiY { get; } #Vertical physical DPI, or null for a unitless aspect ratio.