Click or drag to resize

DpiToPdfCoordinateConverter Class

This class converts coordinates from conventional image space (values measured in Dots Per Inch (Pixels Per Inch) with the origin in the upper left corner and X and Y extending to the right and down respectively) to PDF coordinate space (values measured in 1/72 inch with the origin in the lower left of the page and X and Y extending to the right and up respectively).
Inheritance Hierarchy
SystemObject
  Atalasoft.PdfDocPdfCoordinateConverter
    Atalasoft.PdfDocDpiToPdfCoordinateConverter
      Atalasoft.PdfDocDpcmToPdfCoordinateConverter

Namespace:  Atalasoft.PdfDoc
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public class DpiToPdfCoordinateConverter : PdfCoordinateConverter

The DpiToPdfCoordinateConverter type exposes the following members.

Constructors
  NameDescription
Public methodDpiToPdfCoordinateConverter(Double, Size)
Constructs a new converter object with the specified resolution in dots per inch and the specified page size in pixels.
Public methodDpiToPdfCoordinateConverter(Double, SizeF)
Constructs a new converter object with the specified resolution in dots per inch and the specified page size in pixels.
Top
Methods
  NameDescription
Public methodConvert(Point)
Converts a Point from one coordinate space to another
(Inherited from PdfCoordinateConverter.)
Public methodConvert(PointF)
Converts a PointF from one coordinate space to another
(Inherited from PdfCoordinateConverter.)
Public methodConvert(Rectangle)
Converts a Rectangle from one coordinate space to another
(Inherited from PdfCoordinateConverter.)
Public methodConvert(RectangleF)
Converts a RectangleF from one coordinate space to another
(Inherited from PdfCoordinateConverter.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also