Software Developer's Kit - ChemDraw

Send comments on this topic
BorderColor Property
See Also 

Description

Member of ChemDrawCtl.

Sets and returns the border of the ChemDraw control.

Property type

Read-write property

Syntax

Visual Basic
Public Property BorderColor() As ULong

Return Type

ULong

Example

'ChemDraw control border
 Private Sub Form_Activate()
     ctlChemDraw.ActiveDocument.Activate
     If  ctlChemDraw.Objects.Count = 0 Then
         ctlChemDraw.SetFocus
     End If
     ctlChemDraw.BorderColor = vbRed
     ctlChemDraw.BorderVisible = True
     ctlChemDraw.BorderWidth = 0
 End Sub

See Also