PrintMgmtPrintSetting.getDetailByPos Method [AX 2012]

Retrieves the instance of the PrintMgmtPrintSettingDetail class for the specified position.

public PrintMgmtPrintSettingDetail getDetailByPos(int _position)

Run On

Called

Parameters

_position
Type: int
The position of the requested instance of the PrintMgmtPrintSettingDetail class.

Return Value

Type: PrintMgmtPrintSettingDetail Class
The instance of the PrintMgmtPrintSettingDetail class for the specified position.

ExceptionCondition
Error

The _position parameter is not in the valid range of values.

-or-

The position must not be larger than the number of settings present.

-or-

The position cannot be less than zero.

Use this method with the numDetails method to iterate over the printer settings to use for each copy of the report to print.

Community Additions

ADD
Show: