TextCharacters 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示来自不同物理字形的字符字形的集合。
public ref class TextCharacters : System::Windows::Media::TextFormatting::TextRun
public class TextCharacters : System.Windows.Media.TextFormatting.TextRun
type TextCharacters = class
inherit TextRun
Public Class TextCharacters
Inherits TextRun
- 继承
构造函数
| 名称 | 说明 |
|---|---|
| TextCharacters(Char[], Int32, Int32, TextRunProperties) |
使用指定的字符数组初始化类的新实例 TextCharacters 。 |
| TextCharacters(Char*, Int32, TextRunProperties) |
使用指定的不安全字符串初始化类的新实例 TextCharacters 。 |
| TextCharacters(String, Int32, Int32, TextRunProperties) |
使用指定的字符子字符串初始化类的新实例 TextCharacters 。 |
| TextCharacters(String, TextRunProperties) |
使用指定的字符串初始化类的新实例 TextCharacters 。 |
属性
| 名称 | 说明 |
|---|---|
| CharacterBufferReference | |
| Length |
获取文本字符的长度。 |
| Properties |
获取每个文本字符共享的属性集。 |
方法
| 名称 | 说明 |
|---|---|
| Equals(Object) |
确定指定对象是否等于当前对象。 (继承自 Object) |
| GetHashCode() |
用作默认哈希函数。 (继承自 Object) |
| GetType() |
获取当前实例的 Type。 (继承自 Object) |
| MemberwiseClone() |
创建当前 Object的浅表副本。 (继承自 Object) |
| ToString() |
返回一个表示当前对象的字符串。 (继承自 Object) |