Class ImageSize
Represents a ImageSize.
Inherited Members
Namespace: DRIT.Document.Drawing
Assembly: DRIT.Document.dll
Syntax
public class ImageSize
Constructors
ImageSize(int, int)
Initializes a new instance of the ImageSize class.
Declaration
public ImageSize(int widthPixels, int heightPixels)
Parameters
| Type | Name | Description |
|---|---|---|
| int | widthPixels | The width Pixels used by the operation. |
| int | heightPixels | The height Pixels used by the operation. |
Properties
HeightPixels
Gets the height of the image in pixels.
Declaration
public int HeightPixels { get; }
Property Value
| Type | Description |
|---|---|
| int |
HeightPoints
Gets or sets height points.
Declaration
public double HeightPoints { get; }
Property Value
| Type | Description |
|---|---|
| double |
HorizontalResolution
Gets the horizontal resolution in DPI.
Declaration
public double HorizontalResolution { get; }
Property Value
| Type | Description |
|---|---|
| double |
VerticalResolution
Gets or sets vertical resolution.
Declaration
public double VerticalResolution { get; }
Property Value
| Type | Description |
|---|---|
| double |
WidthPixels
Gets the width of the image in pixels.
Declaration
public int WidthPixels { get; }
Property Value
| Type | Description |
|---|---|
| int |
WidthPoints
Gets the width of the image in points. 1 point is 1/72 inch.
Declaration
public double WidthPoints { get; }
Property Value
| Type | Description |
|---|---|
| double |