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 factory using 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 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.
The user can set the value of IsReadOnly to false temporarly when modifying a document and re-set the value when done.
Products |
Support |
Feedback: IsReadOnly Property (Document) - Leadtools.Documents |
Introduction |
Help Version 19.0.2017.3.22
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.