.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

Units.DocumentsToPixels Method

Name Parameters Description
DocumentsToPixels(Point, Single, Single) static val, dpiX, dpiY Converts rectangle coordinates from documents to pixels.
DocumentsToPixels(Rectangle, Single, Single) static val, dpiX, dpiY Converts point coordinates from documents to pixels.
DocumentsToPixels(RectangleF, Single, Single) static val, dpiX, dpiY Converts a rectangle from documents to pixels.
DocumentsToPixels(Size, Single, Single) static val, dpiX, dpiY Converts height and width from documents to pixels.
DocumentsToPixels(Int32, Single) static val, dpi Converts a measurement from documents to pixels. Returns the converted measurement as an Integer.