.NET Framework Class Library
Document.OpenDocument Method

<< Click to Display Table of Contents >>

Navigation:  MwPDMApi Namespace > Document Class > Document Methods >

.NET Framework Class Library
Document.OpenDocument Method

Opens the currently selected document

Namespace: MwPDMApi
Assembly:  MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

Visual Basic

Public Function OpenDocument ( _

 Optional docUid As Integer = -1 _
As Boolean

C#

public bool OpenDocument(

 int docUid = -1
)

Visual C++

public:

bool OpenDocument(
 int docUid = -1
)

JavaScript

function openDocument(docUid);

Parameters

docUid (Optional)

Type: System.Int32
Opens the currently selected document

Return Value

True if the document was opened successfully, False otherwise

See Also

Document Class

Document Members

MwPDMApi Namespace