DocumentRef.<Document name>.IsEmpty
Syntax:
Returned value:
True indicates that a reference points to no object (empty reference); otherwise it is False.
Description:
Availability:
Example:
If SelDocument.IsEmpty() Then DoMessageBox("Select a document!"); EndIf; |