Table of Contents

Method GetIndent

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

GetIndent(int, int)

Returns indentation level of this syntax node.

public virtual 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)

Returns indentation level of this syntax node.

public virtual 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.