CODController::SetAlignNoLabel
virtual void CODController::SetAlignNoLabel (const BOOLbAlignNoLabel = TRUE)
Sets the alignment by the base region without a label to avoid misalignment of the base part of a symbol when a label goes beyond the base region.
Defined in: OdController.h
Return Value
void
Parameters
bAlignNoLabel
If TRUE, the alignment is done by the base region without a label.
Comments
Call this function to override the default alignment calculated from the joined base region and labels.
Call this function to set same size for base regions without a label
Call this function from any function in controller except the constructor or from viewport.
Sample call (see Showcase sample)
void CShowcaseViewport::OnInitialUpdate()
{ __super::OnInitialUpdate(); ((CShowcaseController*)m_pCtlr)->SetAlignNoLabel(); }