Paragraph Format. Set Indents(Single, Single, Single) Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the first-line indent, the left indent, and the right indent for a paragraph.
public: void SetIndents(float start, float left, float right);
void SetIndents(float const& start, float const& left, float const& right);
public void SetIndents(float start, float left, float right);
function setIndents(start, left, right)
Public Sub SetIndents (start As Single, left As Single, right As Single)
The indent of the first line in a paragraph, relative to the left indent. The value is in floating-point points and can be positive or negative.
The left indent of all lines except the first line in a paragraph, relative to the left margin. The value is in floating-point points and can be positive or negative.
The right indent of all lines in a paragraph, relative to the right margin. The value is in floating-point points and can be positive or negative. This value is optional.
Line indents cannot position text in the margins. If the first-line indent is set to a negative value, for an outdented paragraph, while the left indent is zero, the first-line indent is reset to zero. To avoid this problem while retaining property sets, explicitly set the first-line indent value equal to zero, and then call SetIndents to set a nonnegative, left-indent value and set the desired first-line indent.
Submit and view feedback for