Software Developer's Kit - ChemDraw

Send comments on this topic
Graphics Property
See Also 

Description

Member of ChemDraw Control.Document.

Returns the graphics collection in the document.

Property type

Read-only property

Syntax

Visual Basic
Public Property Graphics() As Graphics

Return Type

Remarks

Returns the graphics collection in the document.

Example

 Private Sub cmdCommand_Click()
    'returns the collection of objects in the document
     cmdCommand.Caption = myDocument.Graphics.Count
 End Sub

See Also