TmdlFormattingOptionsExtensions.WithBaseIndentationLevel Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.