Software Developer's Kit - ChemDraw

Send comments on this topic
BorderVisible Property
See Also 

Description

Member of ChemDrawCtl.

Sets and returns whether the ChemDraw border will be visible or not.

Property type

Read-write property

Syntax

Visual Basic
Public Property BorderVisible() As Boolean

Return Type

Boolean

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