Software Developer's Kit - ChemDraw

Send comments on this topic
IsHDash Property
See Also 

Description

Member of ChemDraw Control.Atom.

Sets and returns whether the atom has an H-dash indicator.

Property type

Read-write property

Syntax

Visual Basic
Public Property IsHDash() As Boolean

Return Type

Boolean

Remarks

This property returns a true if the atom has an H-dash indicator, else returns false. To represent a hydrogen atom that is directed backwards into the plane away from us along the Z-axis, use the H-dash property. It indicates the presence of an implicit hydrogen with stereochemistry specified equivalent to an explicit H atom with a hashed bond.

Atom drawing becomes dashed to indicate the stereochemistry of a single hydrogen atom.

Example

'Declares variables
 Dim vAtom  As ChemDrawControl10Ctl.Atom 
'Checks that there is an atom loaded in the variable
 If  Selection.Atoms.Count < 1 Then
     Exit Sub
 End If

'checks if True/False this property 
 If  vAtom.IsHDash = True then
         Text1.Text = "Atom is IsHDash"
     Else
         Text1.Text = "Atom is not IsHDash"
     End If
 End Sub 

See Also