Class FieldMergingEventArgs
Provides data for a mail-merge field callback.
Inherited Members
Namespace: DRIT.Document
Assembly: DRIT.Document.dll
Syntax
public sealed class FieldMergingEventArgs : EventArgs
Properties
Context
Gets the current record or merge context.
Declaration
public object Context { get; }
Property Value
| Type | Description |
|---|---|
| object |
Document
Gets the document being merged.
Declaration
public Document Document { get; }
Property Value
| Type | Description |
|---|---|
| Document |
FieldName
Gets the merge field name.
Declaration
public string FieldName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Handled
Gets or sets whether the callback has supplied the final value.
Declaration
public bool Handled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
IsValueFound
Gets whether the source contained a value for the field.
Declaration
public bool IsValueFound { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Text
Gets or sets the text written for the field.
Declaration
public string Text { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Value
Gets the resolved source value, if one was found.
Declaration
public object Value { get; }
Property Value
| Type | Description |
|---|---|
| object |