| EditorControllerOpen Method (ProjectFile, EditingMode) |
Open a document from a project file in the specified editing mode.
Namespace: Sdl.TranslationStudioAutomation.IntegrationApiAssembly: Sdl.TranslationStudioAutomation.IntegrationApi (in Sdl.TranslationStudioAutomation.IntegrationApi.dll) Version: 4.2.0.0 (4.1.5799.0)
Syntaxpublic Document Open(
ProjectFile projectFile,
EditingMode mode
)
Public Function Open (
projectFile As ProjectFile,
mode As EditingMode
) As Document
public:
Document^ Open(
ProjectFile^ projectFile,
EditingMode mode
)
member Open :
projectFile : ProjectFile *
mode : EditingMode -> Document
Parameters
- projectFile
- Type: Sdl.ProjectAutomation.CoreProjectFile
Project file to open. - mode
- Type: Sdl.TranslationStudioAutomation.IntegrationApiEditingMode
The editing mode in which the document will be loaded.
Return Value
Type:
DocumentThe opened document.
See Also
Comments