语言

TextFormatter.Create 方法

定义

创建类的新实例 TextFormatter 。

重载

名称 说明
Create()

创建类的新实例 TextFormatter 。 这是一种静态方法。

Create(TextFormattingMode)

使用指定的格式设置模式创建类的新实例 TextFormatter 。 这是一种静态方法。

Create()

创建类的新实例 TextFormatter 。 这是一种静态方法。

public:
 static System::Windows::Media::TextFormatting::TextFormatter ^ Create();
public static System.Windows.Media.TextFormatting.TextFormatter Create();
static member Create : unit -> System.Windows.Media.TextFormatting.TextFormatter
Public Shared Function Create () As TextFormatter

返回

的一个新实例 TextFormatter。

适用于

Create(TextFormattingMode)

使用指定的格式设置模式创建类的新实例 TextFormatter 。 这是一种静态方法。

public:
 static System::Windows::Media::TextFormatting::TextFormatter ^ Create(System::Windows::Media::TextFormattingMode textFormattingMode);
public static System.Windows.Media.TextFormatting.TextFormatter Create(System.Windows.Media.TextFormattingMode textFormattingMode);
static member Create : System.Windows.Media.TextFormattingMode -> System.Windows.Media.TextFormatting.TextFormatter
Public Shared Function Create (textFormattingMode As TextFormattingMode) As TextFormatter

参数

textFormattingMode
TextFormattingMode

指定 TextFormattingMode 文本布局的 TextFormatter。

返回

的一个新实例 TextFormatter。

另请参阅

适用于