Table of Contents

Method DrawIndent

Namespace
Alternet.Editor
Assembly
Alternet.Editor.v9.dll

DrawIndent(Graphics, Rectangle, bool, Color, Color)

Draws indentation part of ruler on the specified graphic surface.

public void DrawIndent(Graphics graph, Rectangle rect, bool vertical, Color indentBackColor, Color backColor)

Parameters

graph Graphics

The Graphics object to draw on.

rect Rectangle

Rectangular area of ruler indentation to draw on.

vertical bool

Indicates whether indentation has vertical or horizontal direction.

indentBackColor Color

Specifies background color of this RulerIndent.

backColor Color

Specifies background color of RulerIndent slider.