PrintJobPrintOptions.SetMediaTypeByName

Sets the media type to use based on its name.

public bool SetMediaTypeByName(string name)
Function SetMediaTypeByName(name As String) As Boolean

Parameters

name
String

The name of the media type to set.

Returns

Boolean

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:

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.

See Also

PrintJobPrintOptions
ceTe.DynamicPDF.Printing

In this topic