Skip to main content
.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.