CloseDoc method
The open document is closed and the control window is repainted with a white background.
- Method
- short CloseDoc( )
- Description
- The open document is closed and the control window is repainted with a white background.
- Return Value
- Refer to return codes.
- Also see
- OpenDoc method
C/C + +
CArsOle * pArsCtrl;
short rc;
.
.
rc = pArsCtrl->CloseDoc( );
if ( rc != ARS_OLE_RC_SUCCESS )
ERROR;
.
.
Visual Basic
Dim rc As Integer
.
.
.
rc = ArsOle.CloseDoc()
If rc <> ARS_OLE_RC_SUCCESS Then
MsgBox "ERROR"
End
End If
.
.
.