Class DocumentMergeParams.Builder
Builds a DocumentMergeParams instance.
Inheritance
System.Object
DocumentMergeParams.Builder
Namespace: Adobe.PDFServicesSDK.pdfjobs.parameters.documentmerge
Assembly: Adobe.PDFServicesSDK.Doc.dll
Syntax
public class Builder
Methods
Build()
Builds a new DocumentMergeParams instance from the current state of this builder.
Declaration
public DocumentMergeParams Build()
Returns
Type | Description |
---|---|
DocumentMergeParams | A new DocumentMergeParams instance |
WithFragments(Fragments)
Sets the Fragments for the document merge process.
Declaration
public DocumentMergeParams.Builder WithFragments(Fragments fragments)
Parameters
Type | Name | Description |
---|---|---|
Fragments | fragments | fragments for document merge job; can not be null. |
Returns
Type | Description |
---|---|
DocumentMergeParams.Builder | this Builder instance to add any additional parameters |
WithJsonDataForMerge(JObject)
Sets the input JSON data for the document merge process.
Declaration
public DocumentMergeParams.Builder WithJsonDataForMerge(JObject jsonDataForMerge)
Parameters
Type | Name | Description |
---|---|---|
Newtonsoft.Json.Linq.JObject | jsonDataForMerge | json to be used in the document merge job; can not be null. |
Returns
Type | Description |
---|---|
DocumentMergeParams.Builder | this Builder instance to add any additional parameters |
WithOutputFormat(OutputFormat)
Sets the OutputFormat for the document merge process.
Declaration
public DocumentMergeParams.Builder WithOutputFormat(OutputFormat outputFormat)
Parameters
Type | Name | Description |
---|---|---|
OutputFormat | outputFormat | output format for the document merge result; can not be null. |
Returns
Type | Description |
---|---|
DocumentMergeParams.Builder | this Builder instance to add any additional parameters |