[]
        
(Showing Draft Content)

C1.WPF.Word.C1WordDocument.ToPoints

ToPoints Method

ToPoints(double)

Converts pixels to points.

Declaration
public static double ToPoints(double pixels)
Parameters
Type Name Description
double pixels

Measurement in pixels.

Returns
Type Description
double

Measurement in points.

ToPoints(Size)

Converts pixels to points.

Declaration
public static Size ToPoints(Size szPixels)
Parameters
Type Name Description
Size szPixels

The size in pixels.

Returns
Type Description
Size

The size in points.

ToPoints(Rect)

Converts pixels to points.

Declaration
public static Rect ToPoints(Rect rcPixels)
Parameters
Type Name Description
Rect rcPixels

The rectangle in pixels.

Returns
Type Description
Rect

The rectangle in points.