Creates a new print preview job using the specified printer for the destination, the specified image color management object for image color management settings, and the specified name.
Syntax
'Declaration
Public Function New( _
ByVal As Printer, _
ByVal As Icm, _
ByVal As Boolean, _
ByVal As String _
)
'Usage
Dim printer As Printer
Dim imageColorManagement As Icm
Dim useHardwareMargins As Boolean
Dim name As String
Dim instance As New PrintPreviewJob(printer, imageColorManagement, useHardwareMargins, name)
Parameters
- printer
- The printer the print preview job is to print to.
- imageColorManagement
- The image color management settings to use for the print job.
- useHardwareMargins
- A boolean value which determines whether or not margins should be determined from the hardware settings.
- name
- The name to use for the print job.
See Also