TextFormatter.Create 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建类的新实例 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。