Click or drag to resize

BaseFormFieldThrowIfReadOnlyT Method

If EnforceReadyOnlyWithException is true and IsFieldReadOnly is true, throw an InvalidOperationException, otherwise return value.

Namespace:  Atalasoft.PdfDoc.Generating.Forms
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
protected T ThrowIfReadOnly<T>(
	T value
)

Parameters

value
Type: T
The value

Type Parameters

T
The value type

Return Value

Type: T

[Missing <returns> documentation for "M:Atalasoft.PdfDoc.Generating.Forms.BaseFormField.ThrowIfReadOnly``1(``0)"]

Exceptions
ExceptionCondition
InvalidOperationExceptionAttempt to modify a read-only annotation.
Remarks
This is a helper method used in public properties to prevent modification to annotation contents.
See Also