PrintJobPagePrintOptions.SetMediaTypeByName
Sets the media type by name for the page.
public bool SetMediaTypeByName(string name)
Function SetMediaTypeByName(name As String) As Boolean
Parameters
- name
- String
The name of the media type to set.
Returns
A boolean value indicating if the media type name 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 media type is not supported by the printer, the media type will not be changed and this method will return false.