{{getMsg('Help_YouAreHere')}}:
/
{{page.title}}
{{page.title}}
{{$root.getMsg("downLoadHelpAsPdf")}}
{{helpModel.downloadHelpPdfDataStatus}}
AddAttachment
Adds a file attachment to the report output. The file will be embedded. This work only for the PDF output format currently.
If the data is null, the function call is ignored.
Usage:
AddAttachment( String, Binary );
Parameters:
String | The name of the embedded attachment |
---|---|
Binary | A binary object to embed |
Examples:
AddAttachment( "sample.txt", BytesFromFile("sample.txt" ) );
AddAttachment( "sample.png", {Table.LongvarBinaryField} );