StringUnit Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the units of measure for a text string.
public enum class StringUnit
public enum StringUnit
type StringUnit =
Public Enum StringUnit
- Inheritance
Fields
Display | 1 | Specifies the device unit as the unit of measure. |
Document | 5 | Specifies 1/300 of an inch as the unit of measure. |
Em | 32 | Specifies a printer's em size of 32 as the unit of measure. |
Inch | 4 | Specifies an inch as the unit of measure. |
Millimeter | 6 | Specifies a millimeter as the unit of measure. |
Pixel | 2 | Specifies a pixel as the unit of measure. |
Point | 3 | Specifies a printer's point (1/72 inch) as the unit of measure. |
World | 0 | Specifies world units as the unit of measure. |
Remarks
This enumeration is not currently used in the .NET Framework.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈