Alignment Property (Story Control)
Windows - Visual C++
Description
The Alignment property sets or gets
the story alignment.
Alignment property is read/write.
Syntax
long lAlignment = m_alignment; //
Data member of the Story Control.
The Alignment property settings:
Part |
Description |
|
lAlignment |
Long variable with settings of the story alignment. See remarks for settings. |
Remarks
The story control can display text in one of three alignments or justifications; Left, Right and Center.
Left Alignment has a value of 0.
Right Alignment has a value of 1.
Center Alignment has a value of 2.
The default setting for the story control is Left Alignment. When this value is altered either programmatically or through the user interface, the story control automatically will update.
See Also: StartIndent RightIndent
Back to: Story Properties