Last active
April 10, 2019 07:17
-
-
Save GroupDocsGists/ba66cecb1eacc47b0a6dd18867c3dc04 to your computer and use it in GitHub Desktop.
GroupDocs.Assembly Inline Error Messages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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. | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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