ContainsWorkspace Property [Visio 2003 SDK Documentation]
Determines whether the document was saved as a workspace.
boolRet = object**.ContainsWorkspace**
boolRet Boolean. True if the document was saved as a workspace; otherwise, False.
object Required. An expression that returns a Document object.
Version added
2002
Remarks
This property is read only, but you can cause a document to be saved as a workspace by passing the visSaveAsWS flag to the SaveAsEx method.
This is equivalent to clicking Workspace under the Save button in the Save As dialog box (on the File menu, click Save As, and then click the arrow next to Save).
Applies to | Document object
See Also | SaveAsEx method