Click or drag to resize

BaseAnnotationEnforceReadyOnlyWithException Property

Gets or sets a value indicating whether to enforce ready only with the ReadOnly propery with an exception.

Namespace:  Atalasoft.PdfDoc.Generating.Annotations
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: (.NET 4.5.2, x86)
public bool EnforceReadyOnlyWithException { get; set; }

Property Value

Type: Boolean
true if ReadOnly will be enforced with an exception; otherwise, false.
When set to true, if ReadOnly or IsFieldReadOnlyis set to true, this will cause any property that is modified to throw an InvalidOperationException. This has true as a default value. It is not recommended to change this property.
See Also