|
|
|
|
|
SftPrintPreviewPrinter.Bin Method |
Returns the name of the bin.
Syntax
|
VB.NET |
Name = object.Bin(ByVal Index As Integer) As String |
||
|
VB |
Name = object.Bin(ByVal Index As Integer) As String |
||
|
C#.NET |
string Name = object.Bin(int Index); |
||
|
VC++ |
_bstr_t* Name = object->Bin(int Index); |
||
|
C |
HRESULT object->raw_Bin(int Index, BSTR* Name); |
||
|
Delphi |
Name := object.Bin(Index : Integer) : WideString; |
object
A SftPrintPreviewPrinter object.
Index
The zero-based index of the requested bin.
Name
Returns the name of the bin.
Comments
The Bin method returns the name of the bin.
The total number of bins for the current printer can be retrieved using the Printer.BinCount property.
The Printer.BinValue property can be used to retrieve the equivalent bin value as used by the device driver and the Windows DEVMODE structure.
The Printer.PaperSource and Printer.PaperSourceValue properties can be used to define the paper source.