Search
FlowChart.PrintOnDev Method
See Also
 



Prints the diagram using the specified printer (obsolete).

 Syntax

VB6  Copy Code

Public Sub PrintOnDev( _
    ByVal sDriver As String, _
    ByVal sDevice As String, _
    ByVal bPrintInterior As Boolean, _
    ByVal bPrintImages As Boolean, _
    ByVal bPrintFrame As Boolean, _
    ByVal bPrintHeader As Boolean, _
    ByVal bPrintShadows As Boolean, _
    ByVal sDocName As String _
)

C++  Copy Code

public:
void PrintOnDev (
    BSTR sDriver,
    BSTR sDevice,
    bool bPrintInterior,
    bool bPrintImages,
    bool bPrintFrame,
    bool bPrintHeader,
    bool bPrintShadows,
    BSTR sDocName
)

 Parameters

sDriver
The print provider/driver, usually "WINSPOOL".
sDevice

The name of the specific output device to be used.

bPrintInterior
Specifies whether to print objects interior and control background.
bPrintImages
Specifies whether to print images.
bPrintFrame
Specifies whether to print a frame around the document.
bPrintHeader
Specifies whether to print header at the top of each page.
bPrintShadows
Specifies whether to print shadows.
sDocName
The name of the document, printed in all page headers.

 Remarks

Prints the current document's contents. The printer to be used is chosen programmatically and its name passed as value of the device parameter. You can control various visual aspects of the print output by passing appropriate values for the other parameters of this method.

 Note

This method is obsolete. You should use the PrintDiagram method in conjunction with the PrintOptions structure to print FlowChartX documents.

 See Also