Struct OdfTextMeasureResult
Represents the physical result of text layout measurement. 表示文字版面量測的實體結果。
public readonly struct OdfTextMeasureResult
- Inherited Members
Constructors
OdfTextMeasureResult(double, double, int, bool)
Represents the physical result of text layout measurement. 表示文字版面量測的實體結果。
public OdfTextMeasureResult(double widthCentimeters, double heightCentimeters, int lineCount, bool isExact)
Parameters
widthCentimetersdoubleThe measured width in centimeters. / 以公分為單位的量測寬度。
heightCentimetersdoubleThe measured height in centimeters. / 以公分為單位的量測高度。
lineCountintThe measured line count. / 量測所得的行數。
isExactboolWhether font metrics were used. / 是否使用字型度量資料。
Properties
HeightCentimeters
Gets the measured height in centimeters. 取得以公分為單位的量測高度。
public double HeightCentimeters { get; }
Property Value
IsExact
Gets whether font metrics were used. 取得是否使用字型度量資料。
public bool IsExact { get; }
Property Value
LineCount
Gets the line count. 取得行數。
public int LineCount { get; }
Property Value
WidthCentimeters
Gets the measured width in centimeters. 取得以公分為單位的量測寬度。
public double WidthCentimeters { get; }