Method FromPoints
- Namespace
- DocWright.Core.Primitives
- Assembly
- DocWright.Core.dll
FromPoints(double)
Creates a value from typographic points, rounding half away from zero.
public static Twips FromPoints(double points)
Parameters
pointsdoubleThe length in points.
Returns
- Twips
The equivalent length in twips.
FromPoints(int)
Creates a value from a whole number of typographic points.
public static Twips FromPoints(int points)
Parameters
pointsintThe length in points.
Returns
- Twips
The equivalent length in twips.