IDesign::Open

 
long Open(
           [in] BSTR bstrFilename,
           [in] long nLimitFlags,
           [in] BOOL bReadOnly,
);
 

Return Values

 
This method returns non-zero if successful.
 

Remarks

 
Once a Design is created, using the Open method allows for an existing design to be loaded. Any data currently held in the design pointer will be lost and the contents of the design file will be brought into memory.
The following parameters are required for this call:
 
  • BSTR bstrFilename
The name of the eXpress design to open.
  • long nLimitFlags
Provides ability to load only portions of design. Should be set to 0xFFFF for all data.
  • BOOL bReadOnly
Causes the design to be opened in read-only mode.