Share via


TmdlFormattingOptionsExtensions.WithBaseIndentationLevel Method

Definition

Sets the level of the base indentation of the TMDL documents.

public static Microsoft.AnalysisServices.Tabular.Tmdl.TmdlFormattingOptions WithBaseIndentationLevel(this Microsoft.AnalysisServices.Tabular.Tmdl.TmdlFormattingOptions options, int level);
static member WithBaseIndentationLevel : Microsoft.AnalysisServices.Tabular.Tmdl.TmdlFormattingOptions * int -> Microsoft.AnalysisServices.Tabular.Tmdl.TmdlFormattingOptions
<Extension()>
Public Function WithBaseIndentationLevel (options As TmdlFormattingOptions, level As Integer) As TmdlFormattingOptions

Parameters

options
TmdlFormattingOptions

The instance of the options to update.

level
Int32

The base indentation level.

Returns

The cloned instance of the TmdlFormattingOptions after the change.

Exceptions

The specified options instance is a null reference (Nothing in Visual Basic).

The specified level is invalid.

Remarks

By default, the level of the base indentation for the document is 0; this option can be used to set additional indentation that would be applied to the entire document.

Applies to