Software Developer's Kit - ChemDraw

Send comments on this topic
PrintOut Method
See Also 
from
Indicates from which page to start printing.
to
Indicates up to what page to print.
copies
Number of copies to be printed.

Description

Member of ChemDraw Control.Document.

Print this document.

Syntax

Visual Basic
Public Sub PrintOut( _
   Optional ByRef from As Variant, _
   Optional ByRef to As Variant, _
   Optional ByRef copies As Variant _
) 

Parameters

from
Indicates from which page to start printing.
to
Indicates up to what page to print.
copies
Number of copies to be printed.

Example

'Declares variables 
 Dim myDocument As
ChemDrawControl11Ctl.Document 
 Set myDocument = ctlChemDraw.ActiveDocument

 Private Sub cmdPrint_Click()
     myDocument.PrintOut 1, 2, 1
 End Sub

See Also