Class DisplayUnitsConverter

Class DisplayUnitsConverter

Tên không gian: Aspose.Note Tổng hợp: Aspose.Note.dll (25.4.0)

Khóa học chứa các phương pháp để chuyển đổi giá trị.

public static class DisplayUnitsConverter

Inheritance

object DisplayUnitsConverter

Thành viên thừa kế

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Methods

InchToPoint(Sông)

Chuyển đổi inch thành điểm.

public static float InchToPoint(float inches)

Parameters

inches float

Giá trị để chuyển đổi thành inch.

Returns

float

Hệ thống duy nhất.

MillimeterToInch(Sông)

Chuyển đổi milimeter thành inch.

public static float MillimeterToInch(float mm)

Parameters

mm float

Giá trị để chuyển đổi thành millimeters.

Returns

float

Hệ thống duy nhất.

MillimeterToPoint(Sông)

Chuyển đổi milimeter thành điểm.

public static float MillimeterToPoint(float mm)

Parameters

mm float

Giá trị để chuyển đổi thành millimeters.

Returns

float

Hệ thống duy nhất.

PixelToPoint(Nhãn hiệu: Float)

Chuyển đổi pixels thành điểm ở độ phân giải pixel cụ thể.

public static float PixelToPoint(int pixels, float dpi)

Parameters

pixels int

Giá trị để chuyển đổi thành pixels.

dpi float

Độ phân giải màn hình

Returns

float

Hệ thống.Int32.

PointToInch(Sông)

Chuyển đổi điểm sang inch.

public static float PointToInch(float points)

Parameters

points float

Giá trị để chuyển đổi thành điểm.

Returns

float

Hệ thống duy nhất.

PointToPixel(Float , Float)

Chuyển đổi điểm sang pixels ở độ phân giải pixel cụ thể.

public static int PointToPixel(float points, float dpi)

Parameters

points float

Giá trị để chuyển đổi thành điểm.

dpi float

Độ phân giải màn hình

Returns

int

Hệ thống.Int32.

 Tiếng Việt