TXTextControl.LoadSettings.GetDocumentPartNames Method

SpreadsheetML only. Returns the names of all document parts the specified document contains. Each SpreadsheetML document can contain multiple named worksheets.

Introduced: 26.0.

GetDocumentPartNames(String, StreamType)

Gets the names of all document parts from the specified file.

[C#]
public static string[] GetDocumentPartNames(string path, StreamType streamType);
[Visual Basic]
Public Shared Function GetDocumentPartNames(ByVal path As String, ByVal streamType As StreamType) As String()
Member Description
path

Specifies a file from which the document is loaded.

streamType

Specifies one of the StreamType values. Currently only StreamType.SpreadSheetML is supported.

GetDocumentPartNames(Byte[], StreamType)

Gets the names of all document parts from the specified byte array.

[C#]
public static string[] GetDocumentPartNames(byte[] binaryData, StreamType streamType);
[Visual Basic]
Public Shared Function GetDocumentPartNames(ByVal binaryData As Byte(), ByVal streamType As StreamType) As String()
Member Description
binaryData

Specifies a byte array from which the document is loaded.

streamType

Specifies one of the StreamType values. Currently only StreamType.SpreadSheetML is supported.

Limitations

SpreadSheetML only.

See Also