Indicates that this document is read-only and cannot be modified.
public bool IsReadOnly {get; set;}
Public Property IsReadOnly() As Boolean
Get
Set
public:
property bool IsReadOnly
{
bool get()
void set(bool value)
}
public boolean isReadOnly()
public void setReadOnly(boolean value)
true if this document is read-only and cannot be modified; otherwise, false. Default value is false.
A document is read-only by default (the value of IsReadOnly will be true) when it is first loaded by the factoryusing LoadFromFile, LoadFromUri or LoadFromStream. The value of IsReadOnly will be false when it is created using DocumentFactory.Create.
The value of IsReadOnly will persist when the document is saved and then re-loaded from the cache.
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 LEADDocument 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:
Pages will be set as a read-only collection. You cannot add, insert or remove pages.
The user can set the value of IsReadOnly to false temporarily when modifying a document and re-set the value when done.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document