Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

Units.PixelsToTwipsF Method

Name Parameters Description
PixelsToTwipsF(SizeF, Single, Single) static size, dpiX, dpiY Converts a measurement from pixels to twips. Returns the converted measurement as a SizeF.
PixelsToTwipsF(Single, Single) static val, dpi Converts a measurement from pixels to twips. Returns the converted measurement as a Single.