|
|
|
|
|
SftPrintPreviewPrinter.Can Method |
Returns information about printer capabilities.
Syntax
|
VB.NET |
Available = object.Can(ByVal Feature As String) As Boolean |
||
|
VB |
Available = object.Can(ByVal Feature As String) As Boolean |
||
|
C#.NET |
bool Available = object.Can(string Feature); |
||
|
VC++ |
VARIANT_BOOL* Available = object->Can(_bstr_t Feature); |
||
|
C |
HRESULT object->raw_Can(BSTR Feature, VARIANT_BOOL* Available); |
||
|
Delphi |
Available := object.Can(Feature : WideString) : WordBool; |
object
A SftPrintPreviewPrinter object.
Feature
Specifies the printer capability. The Feature argument is case-sensitive.
|
Feature |
Description |
|
Collate |
The current printer supports collating. The Printer.Collate property can be used to enable collating. |
|
Colors |
The current printer is a color printer. The Printer.Duplex property can be used to enable duplexing. |
|
Duplex |
The current printer supports duplexing. |
|
Staple |
The current printer supports stapling (Windows 2000 and above only). |
|
TrueTypeAsGraphics |
The current printer prints TrueType fonts as graphics. |
|
TrueTypeDownload |
The current printer can download TrueType fonts. |
|
TrueTypeSubstitute |
The current printer can substitute device fonts for TrueType fonts. |
Available
Returns True if the Feature specified is supported by the current printer, False otherwise.
Comments
The Can method returns information about printer capabilities.