Document Class

Represents document of the TSD application
Inheritance Hierarchy
SystemObject
  TSD.API.Remoting.DocumentDocument

Namespace:  TSD.API.Remoting.Document
Assembly:  TSD.API.Remoting (in TSD.API.Remoting.dll) Version: 0.21.5.0
Syntax
public sealed class Document

The Document type exposes the following members.

Properties
  NameDescription
Public propertyModelId
Gets the ID of model contained in the document
Public propertyPath
Gets the path of the document file on the disk. Can be empty if document is not yet saved
Top
Methods
  NameDescription
Public methodCloseAsync
Closes the document
Public methodGetModelAsync
Returns structure model
Public methodStatic memberOpenDocumentAsync(TsdRpcServiceClient, FileStream, Boolean)
Opens document identified by specified file stream using given client
Public methodStatic memberOpenDocumentAsync(TsdRpcServiceClient, String, Boolean)
Opens document identified by specified URI using given client
Public methodSaveToAsync
Saves the document to given path
Top
See Also