DocumentGetPrintout Method |
Gets a document printout as a file. The returned value is Base64 string representation of the file contents.
Namespace:
Aloe.EnterpriseOne.Model.General
Assembly:
Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntaxpublic string GetPrintout(
string fileFormat = "pdf",
Printout printout = null
)
Public Function GetPrintout (
Optional fileFormat As String = "pdf",
Optional printout As Printout = Nothing
) As String
public:
String^ GetPrintout(
String^ fileFormat = L"pdf",
Printout^ printout = nullptr
)
member GetPrintout :
?fileFormat : string *
?printout : Printout
(* Defaults:
let _fileFormat = defaultArg fileFormat "pdf"
let _printout = defaultArg printout null
*)
-> string
Parameters
- fileFormat (Optional)
- Type: SystemString
The file format: pdf, html, xlsx, xls, docx, txt and png. The default format is 'pdf'. - printout (Optional)
- Type: Aloe.EnterpriseOne.Model.GeneralPrintout
The printout defined for the document type of the document. If null the default printout of the document type is used.
Return Value
Type:
String
The file bytes formatted in Base64 string.
See Also