AnnMove example for C++ 4.0 and later

Note: This topic is for Document/Medical only.

This example moves one or more selected annotation objects.

// Declare local variables.
float DeltaX, DeltaY;

// Use twips. 
m_Lead1.SetScaleMode (1);

// Specify arbitrary delta values. 
DeltaX = (float) +2000;
DeltaY = (float) -2000;

// Move the selected annotations.
m_Lead1.AnnMove (DeltaX, DeltaY, TRUE);