• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class ImageSize

Represents a ImageSize.

Inheritance
object
ImageSize
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
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
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX