Table of Contents

Method BeginLeftIndent

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

BeginLeftIndent(int, int)

Begins applying a left indent and subindent in tenths of a millimetre.

public virtual bool BeginLeftIndent(int leftIndent, int leftSubIndent = 0)

Parameters

leftIndent int

The distance between the margin and the bullet.

leftSubIndent int

The distance between the left edge of the bullet and the left edge of the actual paragraph.

Returns

bool

Remarks

The subindent is an offset from the left edge of the paragraph, and is used for all but the first line in a paragraph. A positive value will cause the first line to appear to the left of the subsequent lines, and a negative value will cause the first line to be indented to the right of the subsequent lines. Control uses indentation to render a bulleted item. The content of the paragraph, including the first line, starts at the leftIndent plus the leftSubIndent.