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
)
Public Sub SetFlag (
flag As FieldFlag,
value As Boolean
)
public:
virtual void SetFlag(
[InAttribute] FieldFlag flag,
[InAttribute] bool value
) sealed
function SetFlag(flag, 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