Table of Contents

Method GetIndent

Namespace
Alternet.Syntax
Assembly
Alternet.Syntax.v9.dll

GetIndent(int, int)

When implemented by a class, returns indentation level of this syntax node.

int GetIndent(int index, int indent)

Parameters

index int

Specifies line to obtain indentation level.

indent int

Default value of indentation level.

Returns

int

Indentation level of the node at the specified position.

GetIndent(int, int, out bool)

When implemented by a class, returns indentation level of this syntax node.

int GetIndent(int index, int indent, out bool actualPosition)

Parameters

index int

Specifies line to obtain indentation level.

indent int

Default value of indentation level.

actualPosition bool

If true, the indentation position will be returned, otherwise, the level.

Returns

int

Indentation level of the node at the specified position.