目錄 / Table of Contents

Struct OdfTextMeasureResult

Namespace
OdfKit.Styles
Assembly
OdfKit.dll

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

widthCentimeters double

The measured width in centimeters. / 以公分為單位的量測寬度。

heightCentimeters double

The measured height in centimeters. / 以公分為單位的量測高度。

lineCount int

The measured line count. / 量測所得的行數。

isExact bool

Whether font metrics were used. / 是否使用字型度量資料。

Properties

HeightCentimeters

Gets the measured height in centimeters. 取得以公分為單位的量測高度。

public double HeightCentimeters { get; }

Property Value

double

IsExact

Gets whether font metrics were used. 取得是否使用字型度量資料。

public bool IsExact { get; }

Property Value

bool

LineCount

Gets the line count. 取得行數。

public int LineCount { get; }

Property Value

int

WidthCentimeters

Gets the measured width in centimeters. 取得以公分為單位的量測寬度。

public double WidthCentimeters { get; }

Property Value

double