The QTextLayout::FormatRange 結構用於為文本布局內容中的指定區域應用額外格式信息。 更多...
| 頭: | #include <FormatRange> |
| QTextCharFormat | format |
| int | length |
| int | start |
The QTextLayout::FormatRange 結構用於為文本布局內容中的指定區域應用額外格式信息。
另請參閱 QTextLayout::setAdditionalFormats () 和 QTextLayout::draw ().
指定要應用的格式。
Specifies the numer of characters the format range spans.
Specifies the beginning of the format range within the text layout's text.