PrintMgmtReportRun::changeDestination Method [AX 2012]
The changeDestination method changes the destination of printing from Screen to PDF file.
client server public static SRSPrintDestinationSettings changeDestination(
PrintMgmtDocumentType _docType,
PrintMgmtPrintSettingDetail _currentSettingDetail,
str _documentKeyValue,
str _filePath,
SRSPrintDestinationSettings _settings)
Run On
CalledParameters
- _docType
- Type: PrintMgmtDocumentType Enumeration
A document type.
- _currentSettingDetail
- Type: PrintMgmtPrintSettingDetail Class
An instance of the PrintMgmtPrintSettingDetail class.
- _documentKeyValue
- Type: str
A document key value.
- _filePath
- Type: str
The path that a PDF file will be saved to.
- _settings
- Type: SRSPrintDestinationSettings Class
An instance of the SRSPrintDestinationSettings class.
Return Value
Type: SRSPrintDestinationSettings ClassAnd instance of the SRSPrintDestinationSettings class.
Show: