StringFormatFlagsfunction
Specifies text layout information (such as orientation and clipping) and display manipulations (such as ellipsis insertion, digit substitution, and representation of characters that are not supported by a font).
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.
Parameters
| Name | Description | |
|---|---|---|
StringFormatFlagsDirectionRightToLeft | &h00000001 | |
StringFormatFlagsDirectionVertical | &h00000002 | |
StringFormatFlagsNoFitBlackBox | &h00000004 | |
StringFormatFlagsDisplayFormatControl | &h00000020 | |
StringFormatFlagsNoFontFallback | &h00000400 | |
StringFormatFlagsMeasureTrailingSpaces | &h00000800 | |
StringFormatFlagsNoWrap | &h00001000 | |
StringFormatFlagsLineLimit | &h00002000 | |
StringFormatFlagsNoClip | &h00004000 | |
StringFormatFlagsBypassGDI | &h80000000 |
Description
The StringFormatFlags enumeration specifies text layout information (such as orientation and clipping) and display manipulations (such as ellipsis insertion, digit substitution, and representation of characters that are not supported by a font).
Remarks
Multiple flags set can produce combined effects:
- When both StringFormatFlagsDirectionVertical and StringFormatFlagsDirectionRightToLeft are set, individual lines of text are drawn vertically. The first line starts at the right edge of the layout rectangle; the second line of text is to the left of the first line, and so on.
- When StringFormatFlagsDirectionVertical is set and StringFormatFlagsDirectionRightToLeft is not set, individual lines of text are drawn vertically. The first line starts at the left edge of the layout rectangle; the second line of text is to the right of the first line.
- When StringFormatFlagsDirectionRightToLeft is set and StringFormatFlagsDirectionVertical is not set, the individual lines of text are horizontal and the reading order is from right to left. This setting does not change the order in which characters are displayed, it simply specifies the order in which characters can be read.
The StringFormatFlagsDirectionVertical and StringFormatFlagsDirectionRightToLeft flags can affect string alignment.
Reference
- Documented in Graphics/GdiPlus Flat Api/GdiPlus Enumerations.md
- Topic: GdiPlus Enumerations