Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.3
|
Leadtools.Documents Namespace > Document Class : IsReadOnly Property |
public bool IsReadOnly {get; set;}
'Declaration
Public Property IsReadOnly As Boolean
'Usage
Dim instance As Document Dim value As Boolean instance.IsReadOnly = value value = instance.IsReadOnly
public boolean isReadOnly() public void setReadOnly(boolean value)
Setting is IsReadOnly to true will turn this document into a read-only version. This a logical only operation that can be set by user applications for sanity checking, the Document itself will not behave any differently when any of the methods and properties are accessed except for the following methods which will throw an exception:
DocumentPages will be set as a read-only collection. You cannot add, insert or remove pages.