RightIndent Property (Story Control)
Windows - Visual C++
Description
The RightIndent property sets or
gets the right margin for the story text.
Running property is read/write.
Syntax
long value = m_rightIndent; // Get the right margin
m_rightIndent = value; // Set the right margin
The m_rightIndex is a variable:
Part |
Description |
|
value |
A long integer containing the right margin, in twips, for the story text. |
Remarks
You can use Visual C++'s
TwipsPerPixelX and TwipsPerPixelY routines to convert from pixels to
twips. A twip is a screen-independent measurement unit that is used
to ensure the placement and proportion of screen elements in your
screen application are the same on all display systems. A twip is a
unit of screen measurement equal to 1/20 of a printer's point. There
are approximately 1440 twips to a logical inch or 567 twips to a
logical centimeter.
After setting a new value for the right margin, the story control will automatically update.
The default value is 100.
See Also: StartIndent
Back to: Story Properties