Table of Contents

Method GetIndentString

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

GetIndentString(int, int)

When implemented by a class, returns indentation string which consist of tabs and spaces.

string GetIndentString(int count, int pos)

Parameters

count int

Specifies number of characters in the string.

pos int

Specifies start position of the string.

Returns

string

Indented string that containing tabs and spaces.

GetIndentString(int, int, bool)

When implemented by a class, returns indentation string which consist of tabs and spaces.

string GetIndentString(int count, int p, bool useSpaces)

Parameters

count int

Specifies number of characters in the string.

p int

Specifies start position of the string.

useSpaces bool

Specifies that spaces should be used instead of tab characters.

Returns

string

Indented string that containing tabs and spaces.