Click or drag to resize

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
Syntax
public string GetPrintout(
	string fileFormat = "pdf",
	Printout printout = null
)

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