Assembly: dfpredat.dll This interface is to represent Pre.
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)Properties
ActiveDocument
Gets the active document.Property Value
IDocumentActiveDocumentViewModel
Gets the active document view modelProperty Value
IDocumentViewModelApplicationCore
Gets the application core.Property Value
ApplicationDialogManager
Gets the dialog manager.Property Value
IDlgManagerGlobalJournal
Gets the global journal.Property Value
JournalRecorderLocalJournal
Gets the local journal.Property Value
JournalRecorderMainWindow
Gets the main window.Property Value
IMainWindowUnUseMRU
Gets or sets a value indicating whether [un use MRU].Property Value
boolVersion
Gets the version.Property Value
stringWriteDFG
Gets or sets the WriteDFG flag.Property Value
boolMethods
AutoSave()
Auto save.CanSimulation(bool)
Determines whether this instance can simulation the specified b can.Parameters
bCan bool
if set to true [b can].
ClearMessage(string)
Clear Text.Parameters
strName string
Name.
CloseAllFile()
Closes all file.CloseAllFileExceptWork()
Closes all file except work.CloseDocument(Document)
Closes the file.Parameters
doc Document
The Document to close.
Returns
boolCloseFile(string)
Closes the file.Parameters
strFileName string
Name of the file.
Returns
booltrue if success; otherwise, false.
CloseFile(string, bool)
Closes the file.Parameters
strFileName string
Name of the STR file.
bUseWork bool
if set to true [b use work].
Returns
boolCloseFile(string, bool, bool)
Closes the file.Parameters
strFileName string
Name of the string file.
bUseWork bool
if set to true [b use work].
bActivate bool
if set to true [b activate].
Returns
boolCloseHiddenFile(string)
Closes the hidden file.Parameters
strFileName string
Name of the string file.
Returns
boolCloseWork()
Close work.CreateDocument(string)
Creates the document.Parameters
strFileName string
Name of the file.
Returns
Document The document.CreateDocument(string, bool)
Creates the document.Parameters
strFileName string
Name of the file.
bActivate bool
if set to true [b activate].
Returns
Document The document.CreateDocument(string, bool, string)
Creates the document.Parameters
strFileName string
Name of the STR file.
bActivate bool
if set to true [b activate].
strDocCreateInfo string
The STR doc create info.
Returns
DocumentCreateDocument(string, bool, string, bool)
Creates the document.Parameters
strFileName string
Name of the string file.
bActivate bool
if set to true [b activate].
strDocCreateInfo string
The string document create information.
bDesigner bool
if set to true [b designer].
Returns
DocumentEndOutput(string)
Ends the output.Parameters
strName string
Name.
Fit(string)
Fits this instance.Parameters
strPathName string
Name of the string path.
GetAllOpenDocument()
Gets all opend document.Returns
List<Document>GetDocumentFromOpenedDocument(string)
Gets the document from opened document.Parameters
strFileName string
Name of the file.
Returns
DocumentGetMode()
Gets the mode.Returns
string The mode typeIsOpenDocument(string)
Determines whether [is open document] [the specified STR file name].Parameters
strFileName string
Name of the file.
Returns
booltrue if [is open document] [the specified STR file name]; otherwise, false.
IsRunningSimulation()
Determines whether [is running simulation].Returns
boolNewFile(NewFile)
New file.Parameters
nf NewFile
The new file information.
NewModel(NewModel)
New model.Parameters
nM NewModel
The new model information.
OpenDocument(string)
Opens the document.Parameters
strFileName string
Name of the file.
Returns
Document The document.OpenDocument(string, bool)
Opens the document.Parameters
strFileName string
Name of the file.
bActivate bool
if set to true [b activate].
Returns
Document The document.OpenDocumentFile(string)
Opens the document file.Parameters
strFileName string
Name of the STR file.
Returns
DocumentOpenFile(string, string)
Opens the file.Parameters
strFileName string
Name of the file.
strRefDir string
The reference directory.
Returns
GroupItem The file informaton class.OpenFileDialogAsMainWindow(OpenFileDialogInfo)
Opens the file dialog as main window.Parameters
info OpenFileDialogInfo
The info.
Returns
string the file nameOpenHiddenDocument(object)
Opens the hidden document.Parameters
obj object
The object.
Returns
DocumentOpenModel(string)
Opens the model.Parameters
strFileName string
Name of the file.
Returns
Model The model.OpenWork(string)
Opens the work.Parameters
strFileName string
Name of the STR file.
Returns
WorkPrepareSimulation()
Prepares the simulation.Returns
booltrue if success; otherwise, false.
ReadAllText(string, string)
Reads all text.Parameters
strPath string
The path.
strName string
Name.
ReadAllText(string, string, bool)
Reads all text.Parameters
strPath string
The path.
strName string
Name.
bDeleteFile bool
if set to true [b delete file].
SaveAllFile()
Saves all file.Returns
SaveAllResultSaveFile()
Save the file.SaveFile(string)
Saves the file.Parameters
strPath string
The path.
SaveFile(Document, string)
Saves the file.Parameters
doc Document
The doc.
strFileName string
Name of the STR file.
SaveFile(Document, string, bool)
Saves the file.Parameters
doc Document
The doc.
strFileName string
Name of the STR file.
bIgnoreExternChange bool
if set to true [b ignore extern change].
SaveFileDialogAsMainWindow(SaveFileDialogInfo)
Saves the file dialog as main window.Parameters
info SaveFileDialogInfo
The info.
Returns
string the file nameSaveModel(string)
Saves the model.Parameters
strFileName string
Name of the file.
SaveWork(string)
Saves the work.Parameters
strFileName string
Name of the file.
SetEnableOfTabCtrl(object, bool)
Sets enable or disable of Tab..Parameters
obj object
The current document.
bEnable bool
if set to true [is enable].
SetIntervalForAutoSize()
Sets the size of the interval for auto.SetPathName(string, string)
Set path name.Parameters
strOldPath string
The old path.
strNewPath string
The new path.
SetProgressState(int)
Set taskbar progress state.Parameters
nStats int
0x0 : NOPROGRESS, 0x1 : INDETERMINATE, 0x2 : NORMAL, 0x4 : ERROR, 0x8 : PAUSED
SetProgressValue(ulong, ulong)
Set taskbar progress value.Parameters
nCompleted ulong
The completed value.
nTotal ulong
The total value.
SetSimulationParameters(string, string)
Sets the simulation parameters.Parameters
strEndTime string
The end time.
strStepSize string
Size of the step.
Returns
booltrue if success; otherwise, false.
SetStatusBar(string)
Set status bar.Parameters
strMessage string
The message.
StartOperationStatus()
Starts the operation status.StartOutput(string, string)
Starts the output.Parameters
strPath string
The path.
strName string
Name.