Click or drag to resize

FieldSetFlag Method

Set the value of given FieldFlag.

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public void SetFlag(
	FieldFlag flag,
	bool value
)

Parameters

flag
Type: pdftron.PDFFieldFlag
the flag
value
Type: SystemBoolean
the value
Remarks
You can use this method to set the field as read-only. An alternative approach to set the field as read only is using Page.Flatten(...) method. Unlike Flatten(...), the result of SetFlag(...) can be programatically reversed.
See Also