GroupDocs.Assembly API allows you to use a string as input and output template, instead of Document. This feature improves programmability while working with strings instead of Documents, the resultant output string can be used as per the application needs. Follow these steps to using a string as input and output template:
Initialize DocumentAssembler Define sourceString “«[yourValue]»” Convert sourceString to sourceBytes using ByteArrayInputStream(sourceBytes) Get targetBytes using DocumentAssembler.assembleDocument() Get** targetString **using new String(targetBytes, StandardCharsets....Assembly Product Solution GroupDocs...Acquisition GroupDocs Documentation / GroupDocs.Assembly Product Family...