Member variable XbpRtf():selCharOffset Foundation
Specifies how characters are placed within the current selection.
The property contains a numeric value that specifies how characters are placed with respect to the baseline. The baseline is a virtual line used for character placement. Normally, characters are placed so that the general parts extend above the baseline. Changing the value contained in :selCharOffset allows an Xbase++ application to control how the characters in the current selection are placed.
|Value||Effect on character placement|
|(Positive Integer)||Superscript: Characters are placed above the baseline|
|0||Normal Placement: Characters are aligned with the baseline|
|(Negative Integer)||Subscript: Characters are placed below the baseline|
The value contained in the :selCharOffset instance variable is specified in twips ("twentieth of a point"). This value relates to the font size as follows: <size in twips> := :selFontSize * 20.
If the text in the current selection contains sections with both subscript and superscript text, the instance variable :selCharOffset contains the value NIL. This value represents an indeterminate state that the Xbase++ application may chose to visualize in its user interface. Some word processor applications use grayed controls to visualize conflicting properties in the current selection, for example.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.