BCGControlBar Pro for MFC
void CBCGPDiagramImageObject::SetImageAlign ( HorizontalAlign  horzAlign,
VerticalAlign  vertAlign,
BOOL  bLockAspectRatio = TRUE,
BOOL  bRedraw = FALSE 
)

Sets image alignment properties.

Parameters
horzAlignThe horizontal alignment.
vertAlignThe vertical alignment.
bLockAspectRatioTRUE to lock, FALSE to unlock the aspect ratio.
bRedrawSpecifies whether the item should be repainted.