ReadOnly property

Microsoft Visio Developer Reference

ReadOnly property

See also   Example   

Indicates whether a file is open as read-only.

Version added

2.0

Syntax

intRet = object.ReadOnly

intRet

Integer. Non-zero (True) if the document is open as read-only; otherwise, 0 (False).

object

Required. An expression that returns a Document object.