GdPicture.NET.14
GdPicture14 Namespace / GdPictureImaging Class / PrintSetPaperBin Method / PrintSetPaperBin(Int32) Method
The constant that represents the paper source to be used. Please refer to the System.Drawing.Printing.PaperSourceKind enumeration for correct values. The standard values are listed below (please see the corresponding ordering number):
  1. Upper
  2. Lower
  3. Middle
  4. Manual
  5. Enveloper
  6. ManualFeed
  7. AutomaticFeed
  8. TractorFeed
  9. SmallFormat
  10. LargeFormat
  11. LargeCapacity

14. Cassette

15. FormSource

257. or greater: Custom






In This Topic
PrintSetPaperBin(Int32) Method
In This Topic
Sets up the paper source, means the paper tray, from which the printer gets paper, used by the active printer. The value matches up to the PaperSource.Kind property of the default paper settings.
Syntax
'Declaration
 
Public Overloads Function PrintSetPaperBin( _
   ByVal PaperBin As Integer _
) As Boolean
public bool PrintSetPaperBin( 
   int PaperBin
)
public function PrintSetPaperBin( 
    PaperBin: Integer
): Boolean; 
public function PrintSetPaperBin( 
   PaperBin : int
) : boolean;
public: bool PrintSetPaperBin( 
   int PaperBin
) 
public:
bool PrintSetPaperBin( 
   int PaperBin
) 

Parameters

PaperBin
The constant that represents the paper source to be used. Please refer to the System.Drawing.Printing.PaperSourceKind enumeration for correct values. The standard values are listed below (please see the corresponding ordering number):
  1. Upper
  2. Lower
  3. Middle
  4. Manual
  5. Enveloper
  6. ManualFeed
  7. AutomaticFeed
  8. TractorFeed
  9. SmallFormat
  10. LargeFormat
  11. LargeCapacity

14. Cassette

15. FormSource

257. or greater: Custom

Return Value

true if the method has been followed successfully, otherwise false. Please use the GetStat method or the PrintGetStat method to determine the specific reason for the method's failure.
Remarks
Just to remind you that the active printer is the printer identified by the PrintGetActivePrinter method or set by the PrintSetActivePrinter method and it is dedicated to executing all subsequent print jobs using this class as well as utilizing all by you altered printer settings.
See Also