ReadOnly

Property of IDocumentData

Read-Only state

Read-Write Property of type VARIANT_BOOL

JavaScript

var bReadOnly = DocumentData.ReadOnly;
DocumentData.ReadOnly = bReadOnly;

Visual Basic Script

bReadOnly = DocumentData.ReadOnly
DocumentData.ReadOnly = bReadOnly

C++

VARIANT_BOOL bReadOnly;
HRESULT hr = DocumentData.get_ReadOnly(&bReadOnly);
hr = DocumentData.put_ReadOnly(bReadOnly);