You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > Printing > PrintSetPaperBin > PrintSetPaperBin Method (PaperSource)
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.PrintSetPaperBin Method (PaperSource)

Sets the paper bin to be used by the active printer.

C#
public Boolean PrintSetPaperBin(
    PaperSource PaperBin
);
Visual Basic
Public Function PrintSetPaperBin(
    ByVal PaperBin As PaperSource
) As Boolean
Parameters
Parameters 
Description 
PaperBin 
The paper bin to use. A PaperSource object.  
Returns

True if the paper bin has been selected else false (unsupported paper bin).

Retrieve information about all paper sources available in the current printer.

Private prn As New Printing.PrintDocument
 
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    For n As Integer = 0 To prn.DefaultPageSettings.PrinterSettings.PaperSources.Count - 1
        MsgBox(prn.DefaultPageSettings.PrinterSettings.PaperSources(n).ToString)
    Next
What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.