Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

FieldOptions Members

Represents settings which define the appearance and behavior of the document fields.

Constructors

Name Description
FieldOptions() Initializes a new instance of the FieldOptions class with the default settings.

Properties

Name Description
ClearUnhandledDocVariableField Gets or sets whether the DOCVARIABLE field value is cleared when it cannot be calculated.
HighlightColor Gets or sets the color used to highlight the document fields.
HighlightMode Gets or sets when the document fields should be highlighted.
ThrowExceptionOnInvalidFormatSwitch Gets or sets whether to throw exception if a field formatting switch is not recognized.
UpdateDocVariablesBeforeCopy Specifies whether to refresh the values of document variables when they are to be copied to the Clipboard.
UpdateDocVariablesBeforePrint Specifies whether to refresh the values of document variables when the document is to be printed.
UpdateFieldsInTextBoxes Gets or sets whether the FieldCollection.Update method updates fields contained in text boxes.
UpdateFieldsOnPaste Gets or sets whether document fields contained in the pasted range should be updated.
UpdateHyperlinksOnLoad Gets or sets whether to update hyperlinks without the result text.
UpdateLockedFields Gets or sets whether locked fields can be updated.
UseCurrentCultureDateTimeFormat Gets or sets whether the current culture’s short date and time display settings should be used to format DateTime value for display.

Methods

Name Description
Assign(BaseOptions) Copies all settings from the options object passed as a parameter. Inherited from BaseOptions.
BeginUpdate() Locks the BaseOptions object by disallowing visual updates until the EndUpdate or CancelUpdate method is called. Inherited from BaseOptions.
CancelUpdate() Unlocks the BaseOptions object after it has been locked by the BeginUpdate method, without causing an immediate visual update. Inherited from BaseOptions.
EndUpdate() Unlocks the BaseOptions object after a call to the BeginUpdate method and causes an immediate visual update. Inherited from BaseOptions.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Reset() Resets all notification options to their default values. Inherited from RichEditNotificationOptions.
ToString() Returns a string representing the currently enabled options. Inherited from BaseOptions.

Events

Name Description
Changed Occurs when the options are modified. Inherited from RichEditNotificationOptions.
See Also