Skip to main content

Units.PixelsToDocuments Method

Name Parameters Description
PixelsToDocuments(Double, Single) static val, dpi Converts a measurement from pixels to documents. Returns the converted measurement as an Integer.
PixelsToDocuments(Point, Single, Single) static point, dpiX, dpiY Converts point coordinates from pixels to documents.
PixelsToDocuments(Rectangle, Single, Single) static rect, dpiX, dpiY Converts a rectangle from pixels to documents.
PixelsToDocuments(RectangleF, Single, Single) static rect, dpiX, dpiY Converts rectangle coordinates from pixels to documents.
PixelsToDocuments(Size, Single, Single) static size, dpiX, dpiY Converts a size in pixels to a size in document units, using the specified horizontal and vertical DPI values.
PixelsToDocuments(Int32, Single) static val, dpi Converts a measurement from pixels to documents. Returns the converted measurement as an Integer.