Share via


ReportDesign.setTarget(PrintMedium) Method

Definition

Sets the print medium target for the report.

public:
 virtual Dynamics::AX::Application::PrintMedium setTarget(Dynamics::AX::Application::PrintMedium _target);
public virtual Dynamics.AX.Application.PrintMedium setTarget (Dynamics.AX.Application.PrintMedium _target);
abstract member setTarget : Dynamics.AX.Application.PrintMedium -> Dynamics.AX.Application.PrintMedium
override this.setTarget : Dynamics.AX.Application.PrintMedium -> Dynamics.AX.Application.PrintMedium
Public Overridable Function setTarget (_target As PrintMedium) As PrintMedium

Parameters

_target
PrintMedium

The print medium for the report.

Returns

The print medium for the report.

Remarks

To select a specific printer as the target for the report, call the PrintJobSettings.deviceName method on the object that is returned by the ReportDesign.printJobSettings method.

Applies to