Programming Reference for VirtualLab Fusion
2025.1
|
Interface implemented by all VirtualLab documents. More...
Public Member Functions | |
FormDocument | GetNewDocumentWindow (Form formMain, string fileName) |
Gets a new document window containing this document. | |
Properties | |
VirtualLabSession | Session [get, set] |
every documents need to be handled in a session ==> default is the VirtualLab Mainsession | |
NodeVLExplorer | TreeStructure [get] |
every document should have a node (maybe with subnodes) in the VirtualLab Explorer | |
DocumentType | TypeOfDocument [get] |
Gets an enum entry specifying the type of the document. | |
Interface implemented by all VirtualLab documents.
FormDocument GetNewDocumentWindow | ( | Form | formMain, |
string | fileName | ||
) |
Gets a new document window containing this document.
formMain | Reference to the main form (= MDI parent). Can be null if this form will not be shown (e.g. if it is generated just to get the view settings. |
fileName | File name from which the document was opened for inserting into window caption. If this string is empty, the default document name is used. |