PrinterSettings.PaperSourceCollection.Add(PaperSource) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将指定的 PaperSource 值添加到末尾 PrinterSettings.PaperSourceCollection。
public:
int Add(System::Drawing::Printing::PaperSource ^ paperSource);
public int Add(System.Drawing.Printing.PaperSource paperSource);
member this.Add : System.Drawing.Printing.PaperSource -> int
Public Function Add (paperSource As PaperSource) As Integer
参数
- paperSource
- PaperSource
PaperSource要添加到集合中。
返回
添加的从零开始的 PaperSource 索引。