[]
        
(Showing Draft Content)

C1.Pdf.C1PdfDocumentBase.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(float)

Converts pixels to points.

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

Measurement in pixels.

Returns
Type Description
float

Measurement in points.

ToPoints(SizeF)

Converts pixels to points.

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

The size in pixels.

Returns
Type Description
SizeF

The size in points.

ToPoints(RectangleF)

Converts pixels to points.

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

The rectangle in pixels.

Returns
Type Description
RectangleF

The rectangle in points.