Επεξεργασία

Κοινή χρήση μέσω


PrintCapabilities.PageMediaTypeCapability Property

Definition

Gets a collection of values that identify what types of paper and other media a printer supports.

public:
 property System::Collections::ObjectModel::ReadOnlyCollection<System::Printing::PageMediaType> ^ PageMediaTypeCapability { System::Collections::ObjectModel::ReadOnlyCollection<System::Printing::PageMediaType> ^ get(); };
public System.Collections.ObjectModel.ReadOnlyCollection<System.Printing.PageMediaType> PageMediaTypeCapability { get; }
member this.PageMediaTypeCapability : System.Collections.ObjectModel.ReadOnlyCollection<System.Printing.PageMediaType>
Public ReadOnly Property PageMediaTypeCapability As ReadOnlyCollection(Of PageMediaType)

Property Value

A ReadOnlyCollection<T> of PageMediaType values specifying the print media, such as card stock, label, plain, or photographic.

Remarks

If the printer does not support media type selection, the collection is empty.

This property corresponds to the Print Schema's PageMediaType keyword.

Applies to