DocumentMergeOptions

DocumentMergeOptions

Parameters for specifying the input JSON data and the desired output format for DocumentMergeOperation.

Constructor

new DocumentMergeOptions(jsonDataForMergenon-null, outputFormatnon-null, fragments)

Description:
Parameters:
Name Type Description
jsonDataForMerge Object

JSON object specifying the input datasource for the document merge process; Cannot be null or empty.

outputFormat string

Target format of the generated output document; Cannot be null or empty.

fragments Object

Can be a JSON object, JSON array or a Fragments instance for providing the data to resolve fragments in the input document; Can be null or empty.

Returns:

A new DocumentMergeOptions instance

Members

(static, constant) OutputFormat

Description:
Properties:
Name Type Description
DOCX string

Represents "application/vnd.openxmlformats-officedocument.wordprocessingml.document" media type

PDF string

Represents "application/pdf" media type

List of Output Formats for DocumentMergeOperation