Table of Contents

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

points double

The 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

points int

The length in points.

Returns

Twips

The equivalent length in twips.