ReportDesign.setTarget(PrintMedium) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.