Click or drag to resize

RuntimeManagerGetStartUpDocument Method

Gets the document which is marked as startup. It should include a main procedure.

Namespace:  OpenTestSystem.Otx.Runtime.Api
Assembly:  OpenTestSystem.Otx.Runtime.Api (in OpenTestSystem.Otx.Runtime.Api.dll) Version: 5.5.0.0 (6.1.0.31040)
Syntax
public IDocument GetStartUpDocument()

Return Value

Type: IDocument
Startup document if existing otherwise null.

Implements

IRuntimeManagerGetStartUpDocument
Examples
Gets startup document
C#
static class Program
{
    static void Main()
    { 
        RuntimeManager rt = new RuntimeManager();
        rt.Load("C:\\Sample.ptx");
        IDocument document = rt.GetStartUpDocument();
    } 
}
See Also