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 which page to print.
copies
Indicates number of copies to print.

Description

Member of ChemDrawCtl.

Prints 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 which page to print.
copies
Indicates number of copies to print.

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