GetTextSize - returns the size of the text within the specified PaintRect.
Source position: buttons.pp line 384
protected function TCustomSpeedButton.GetTextSize(
Drawing: Boolean;
PaintRect: TRect
):TSize; virtual;