Class Fragments
Class for providing support for Fragments. To know more about fragments use-case in document generation and document templates, please see the documentation
Inheritance
System.Object
Fragments
Namespace: Adobe.PDFServicesSDK.pdfjobs.parameters.documentmerge
Assembly: Adobe.PDFServicesSDK.Doc.dll
Syntax
public class Fragments
Constructors
Fragments()
Creates a new Fragments
instance
Declaration
public Fragments()
Properties
FragmentsList
Gets the list of fragments.
Declaration
public List<JObject> FragmentsList { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Newtonsoft.Json.Linq.JObject> |
Methods
AddFragment(JObject)
To add JsonObject into the fragments list.
Declaration
public void AddFragment(JObject fragment)
Parameters
Type | Name | Description |
---|---|---|
Newtonsoft.Json.Linq.JObject | fragment | JSON Object to be added to fragments list |
AddFragments(List<JObject>)
To add List of JsonObject into the fragments list.
Declaration
public void AddFragments(List<JObject> fragmentsList)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<Newtonsoft.Json.Linq.JObject> | fragmentsList | List of JSON object to be added to fragments list |