语言

TextEmbeddedObject.Format(Double) 方法

定义

获取文本对象度量指标,该指标将适合段落的指定剩余宽度。

public:
 abstract System::Windows::Media::TextFormatting::TextEmbeddedObjectMetrics ^ Format(double remainingParagraphWidth);
public abstract System.Windows.Media.TextFormatting.TextEmbeddedObjectMetrics Format(double remainingParagraphWidth);
abstract member Format : double -> System.Windows.Media.TextFormatting.TextEmbeddedObjectMetrics
Public MustOverride Function Format (remainingParagraphWidth As Double) As TextEmbeddedObjectMetrics

参数

remainingParagraphWidth
Double

表示剩余段落宽度的 A Double 。

返回

一个 TextEmbeddedObjectMetrics 表示文本对象指标的值。

适用于