TXTextControl.LoadSettings.DocumentPartName Property

SpreadsheetML only. Gets or sets the name of the part of the document to be loaded. Each SpreadsheetML document can contain multiple named worksheets. This property can be used to select a certain worksheet. The LoadSettings.GetDocumentPartNames method returns a list of all worksheet names. When this property is null, which is the deafault value, the first worksheet in loaded. When this property is an empty string, a dialog box is opened showing the names of all worksheets the document contains. The end-user can then select the worksheet to be loaded.

Introduced: 26.0.


public string DocumentPartName { get; set; }
[Visual Basic]
Public Property DocumentPartName() As String


SpreadsheetML only.

See Also