Software Developer's Kit - ChemDraw

Send comments on this topic
Flip Method
See Also 
vertical
Indicates whether the drawing will be flipped vertically or not. Default is False.
preservingAbsoluteStereochemistry
Indicates whether the drawing will preserve absolute stereochemistry when flipped, or not. Default is False.

Description

Member of ChemDrawControl.Objects.

Flip these objects horizontally or vertically

Syntax

Visual Basic
Public Sub Flip( _
   Optional ByVal vertical As Boolean = False, _
   Optional ByVal preservingAbsoluteStereochemistry As Boolean = False _
) 

Parameters

vertical
Indicates whether the drawing will be flipped vertically or not. Default is False.
preservingAbsoluteStereochemistry
Indicates whether the drawing will preserve absolute stereochemistry when flipped, or not. Default is False.

Example

Private Sub cmdCommand_Click()
    Dim myObjects As ChemDrawControl11Ctl.Objects 
    Set myObjects = ctlChemDraw.Selection.Objects 
    'flips the objects horizontally, preserving absolute stereochemistry 
    myObjects.Flip False, True
End Sub

See Also