2.3.38 ContentOffset
The ContentOffset property specifies the offset for the first paragraph in a RichTextBox record.<25> The offset is relative to the top-left corner of the RichTextBox when the paragraphs are rendered top to bottom. The offset is relative to the top-right corner of the RichTextBox when paragraphs are rendered right to left.
If the ContentOffset property is specified, it MUST be part of the RichTextBox.ElementProperties.NonSharedElementProperties record. If the ContentOffset property is not specified, the default value is used.
-
ContentOffset = contentOffsetStart contentOffsetValue
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
contentOffsetStart |
contentOffsetValue |
||||||||||||||||||||||||||||||
... |
contentOffsetStart (1 byte): A byte that specifies the start of the ContentOffset property. The value of contentOffsetStart field MUST be the following value.
-
Value
Parent
0x25
ElementProperties.NonSharedElementProperties for RichTextBox
contentOffsetValue (4 bytes): A floating point value that specifies the offset for the first paragraph. The default value is 0x00000000.