Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
GroupDocs.Assembly Inline Error Messages
// For complete examples and data files, please go to https://github.com/groupdocs-assembly/GroupDocs.Assembly-for-.NET
DocumentAssembler assembler = new DocumentAssembler();
// Set options
assembler.Options |= DocumentAssemblyOptions.InlineErrorMessages;
// Assemble document
if (assembler.AssembleDocument (...))
{
// Do something with a successfully built report.
}
else
{
// Do something with a report containing a template syntax error.
}
// For complete examples and data files, please go to https://github.com/groupdocs-assembly/GroupDocs.Assembly-for-Java
DocumentAssembler assembler= new DocumentAssembler();
// Set options
assembler.setOptions(DocumentAssemblyOptions.INLINE_ERROR_MESSAGES);
// Assemble document
if (assembler.assembleDocument (...))
{
// Do something with a successfully built report.
}
else
{
// Do something with a report containing a template syntax error.
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.