Gets or sets a value that specifies the type of media being printed on (if the printer supports this feature).
Read-write property
Visual Basic |
---|
Public Property MediaType As PP_MediaType |
The PP_MediaType value which determines the type of media being printed.
Not available at design time.
Note: You cannot set the MediaType property after a document has been started.
The effect of setting the MediaType property depends on the driver supplied by the printer manufacturer. Some property settings may have no effect. Settings outside the accepted range may produce an error. The ErrorCode property will be set to -5015 or -5016 if the printer does not support this property. For more information, see the manufacturer's documentation for the specific printer driver.