The Mail
public class MailMerge : Component
Public Class MailMerge
Inherits Component
Introduced: 14.0.
Constructor | Description |
---|---|
Mail |
Initializes a new instance of the Mail |
Event | Description |
---|---|
Barcode |
Occurs when a barcode has been merged successfully. |
Block |
Occurs when a merge block is about to be merged. |
Block |
Occurs when a merge block row has been merged successfully. |
Chart |
Occurs when a chart has been merged successfully. |
Data |
Occurs when a data row has been merged successfully. |
Field |
Occurs when a field has been merged. |
Form |
Occurs when a form field has been merged. |
Image |
Occurs when an image field, i.e., a merge field whose name is prefixed with "image:" has been merged. |
Image |
Occurs when an image has been merged successfully. |
Include |
Occurs when an Include |
Method | Description |
---|---|
Get |
Returns the names of all merge fields inside the merge block with the specified name. |
Get |
Lists the names of all merge blocks contained in the currently loaded template. |
Load |
Loads a template from a file that is used for the merge process. |
Load |
Loads a template from memory that is used for the merge process. |
Merge | Merges given data into the loaded document template. |
Merge |
Merges all repeating blocks that are contained in the loaded template with the System. |
Merge |
Merges data given as a JSON string into a document template. |
Merge |
Merges a single instance of an arbitrary type into the loaded document template. |
Merge |
Merges a collection of type System. |
Prints the merged document. | |
Save |
Saves the merged document to a file. |
Save |
Saves the merged document. |
Property | Description |
---|---|
Data |
Specifies the culture with which numerical and date / time values coming from the data source are parsed. |
Date |
Specifies the UTC offset in minutes to apply to date fields. |
Form |
Specifies in which manner form fields are treated during the merge process. |
Merge |
A static property returning the internal merge block name prefix "txmb_". |
Merge |
Specifies the culture with which numerical and date / time values are formatted when merged into the target document. |
Remove |
Specifies whether the content of empty merge blocks should be removed from the template or not. |
Remove |
Specifies whether empty fields should be removed from the template or not. |
Remove |
Specifies whether images which don't have merge data should be removed from the template or not. |
Remove |
Specifies whether text lines which are empty after merging should be removed from the template or not. |
Remove |
Specifies whether trailing whitespace should be removed before saving a document. |
Report |
Specifies the Report Data Source Configuration as an XML string. |
Report |
Gets or sets the file path of a Report Data Source Configuration file (*.rdsc) which has been created with TX Text Control Words. |
Search |
Specifies a directory name where sub-templates and images (for image merging) should be searched. |
Template |
Specifies the template file path. |
Text |
Gets or sets the Text |
Use |
Specifies whether the template page size and margins should be used or not. |
Learn more about the TXText