TX Text Control .NET for Windows Forms Documentation

DocumentServer.Fields.IfField Class

The IfField class implements the MS Word specific IF field. This field must be used in combination with an ApplicationField that should be modified using this adapter.

Introduced: 15.0.

Syntax

[C#] public sealed class IfField : MailMergeFieldAdapter
[Visual Basic] Public NotInheritable Class IfField

Constructors

ConstructorDescription
DocumentServer.Fields.IfFieldInitializes a new instance of the IfField class.

Properties

PropertyDescription
Expression1Gets and sets the first expression text that should be compared.
Expression2Gets and sets the second expression text that should be compared to Expression1.
FalseTextGets and sets the text that should be displayed when the comparison is false.
FieldValueGets or sets the field's value of the field that has been specified in Expression1.
OperatorGets and sets the displayed text of the field.
PreserveFormattingSpecifies whether the field's formatting should be preserved.
TextGets and sets the displayed text of the field.
TrueTextGets and sets the text that should be displayed when the comparison is true.

Methods

MethodDescription
ShowDialogOpens the specific field options dialog box.

See Also

 
 
 

Products

Support

Downloads

Corporate

Buy Now