PrintJobPrintOptions.SetResolutionByDpi
Overloads
SetResolutionByDpi(Int32) | Sets the resolution to use based on its DPI. |
SetResolutionByDpi(Int32, Int32) | Sets the resolution to use based on its DPI. |
SetResolutionByDpi(Int32)
Sets the resolution to use based on its DPI.
public bool SetResolutionByDpi(int dpi)
Function SetResolutionByDpi(dpi As Integer) As Boolean
Parameters
- dpi
- Int32
The horizontal and vertical DPI to set.
Returns
A boolean value indicating if the DPI is valid for this printer.
Licensing Info
This method is a DynamicPDF PrintManager feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF PrintManager selected.
- A DynamicPDF PrintManager for .NET v4.X Developer license.
Remarks
If the specified DPI is not supported by the printer, the DPI will not be changed and this method will return false.
SetResolutionByDpi(Int32, Int32)
Sets the resolution to use based on its DPI.
public bool SetResolutionByDpi(int horizontalDpi, int verticalDpi)
Function SetResolutionByDpi(horizontalDpi As Integer, verticalDpi As Integer) As Boolean
Parameters
- horizontalDpi
- Int32
The horizontal DPI to set.
- verticalDpi
- Int32
The vertical DPI to set.
Returns
A boolean value indicating if the DPI is valid for this printer.
Licensing Info
This method is a DynamicPDF PrintManager feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF PrintManager selected.
- A DynamicPDF PrintManager for .NET v4.X Developer license.
Remarks
If the specified DPI is not supported by the printer, the DPI will not be changed and this method will return false.