SRGScaleBar::SetDisplay

void SRGScaleBar::SetDisplay(SRGDisplayBase* pDisplay)

Attaches the scale bar to a display component. If SetDisplay() is not called to attach the display explicitly, OnDraw() will call FindAttachDisplay() to attach the the display that precedes the scale bar in the component list.

Defined in: SRGScaleBar.cpp

Return Value

void

Parameters

pDisplay

SRGDisplayBase* pDisplay