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:
Get targetString using Encoding.UTF8.GetString(targetBytes)
Note
A text template made of ASCII characters only, with no byte order mark, gives a UTF-8 report without a byte order mark, so Encoding.UTF8.GetString also reads non-Latin data of such a report correctly. See Encoding of Text and HTML Reports.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.
Ask AI
Ask anything about this page — the answer is based on its content.
Searching the docs and writing an answer…
Something went wrong while getting an answer. Please try again in a moment.