ReadOnly

Property of IBaseDocument

Description

Read-Only state of the document

Property type

Read-Write Property of type VARIANT_BOOL

Syntax

JavaScript

var bVal = BaseDocument.ReadOnly;
BaseDocument.ReadOnly = bVal;

Visual Basic Script

bVal = BaseDocument.ReadOnly
BaseDocument.ReadOnly = bVal

C++

VARIANT_BOOL bVal;
HRESULT hr = BaseDocument.get_ReadOnly(&bVal);
hr = BaseDocument.put_ReadOnly(bVal);

See Also

IBaseDocument