Software Developer's Kit - ChemDraw

Send comments on this topic
Print Method
See Also 
from
Indicates from which page to print.
to
Indicates up to which page to print.
copies
Number of copies to print.

Description

Member of ChemDrawCtl.

Prints this document.

Syntax

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

Parameters

from
Indicates from which page to print.
to
Indicates up to which page to print.
copies
Number of copies to print.

Example

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

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

See Also