Click or drag to resize

ReportingCloudFindAndReplaceDocument Method

This method replaces strings in a document.

Namespace:  TXTextControl.ReportingCloud
Assembly:  ReportingCloudWrapper (in ReportingCloudWrapper.dll) Version: 1.0.204.500 (1.0.204.500)
Syntax
C#
public byte[] FindAndReplaceDocument(
	FindAndReplaceBody findAndReplaceBody,
	string templateName = null,
	ReturnFormat returnFormat = ReturnFormat.PDF,
	bool test = false
)

Parameters

findAndReplaceBody
Type: TXTextControl.ReportingCloudFindAndReplaceBody
The FindAndReplaceBody object contains the replace data, optionally a template and merge settings.
templateName (Optional)
Type: SystemString
The name of the template in the template storage.
returnFormat (Optional)
Type: TXTextControl.ReportingCloudReturnFormat
The document format of the resulting document.
test (Optional)
Type: SystemBoolean
Specifies whether it is a test run or not. A test run is not counted against the quota and created documents contain a watermark.

Return Value

Type: Byte
See Also