Aspose::Words::MailMerging::MailMerge::ExecuteWithRegions method
MailMerge::ExecuteWithRegions(const System::SharedPtr<Aspose::Words::MailMerging::IMailMergeDataSource>&) method
Performs a mail merge from a custom data source with mail merge regions.
void Aspose::Words::MailMerging::MailMerge::ExecuteWithRegions(const System::SharedPtr<Aspose::Words::MailMerging::IMailMergeDataSource> &dataSource)
Parameter | Type | Description |
---|---|---|
dataSource | const System::SharedPtr<Aspose::Words::MailMerging::IMailMergeDataSource>& | An object that implements the custom mail merge data source interface. |
Remarks
Use this method to fill mail merge fields in the document with values from any custom data source such as an XML file or collections of business objects. You need to write your own class that implements the IMailMergeDataSource interface.
You can use this method only when IsBidiTextSupportedOnUpdate is false, that is you do not need Right-To-Left language (such as Arabic or Hebrew) compatibility.
See Also
- Interface IMailMergeDataSource
- Class MailMerge
- Namespace Aspose::Words::MailMerging
- Library Aspose.Words for C++
MailMerge::ExecuteWithRegions(const System::SharedPtr<Aspose::Words::MailMerging::IMailMergeDataSourceRoot>&) method
Performs a mail merge from a custom data source with mail merge regions.
void Aspose::Words::MailMerging::MailMerge::ExecuteWithRegions(const System::SharedPtr<Aspose::Words::MailMerging::IMailMergeDataSourceRoot> &dataSourceRoot)
Parameter | Type | Description |
---|---|---|
dataSourceRoot | const System::SharedPtr<Aspose::Words::MailMerging::IMailMergeDataSourceRoot>& | An object that implements the custom mail merge data source root interface. |
Remarks
Use this method to fill mail merge fields in the document with values from any custom data source such as an XML file or collections of business objects. You need to write your own classes that implement the IMailMergeDataSourceRoot and IMailMergeDataSource interfaces.
You can use this method only when IsBidiTextSupportedOnUpdate is false, that is you do not need Right-To-Left language (such as Arabic or Hebrew) compatibility.
See Also
- Interface IMailMergeDataSourceRoot
- Class MailMerge
- Namespace Aspose::Words::MailMerging
- Library Aspose.Words for C++