You are here: Symbol Reference > JSGraphics Namespace > Classes > TJSCaption Class > TJSCaption Methods > TJSCaption.MinimumHeight Method
LMD DialogPack
ContentsIndexHome
PreviousUpNext
TJSCaption.MinimumHeight Method

Returns the minimum height that is required to draw the given caption with the desired width.

Pascal
class function MinimumHeight(ACanvas: TCanvas; const ACaption: TJSString; const AFont: TFont; const AWidth: Integer): Integer;

The TJSCaption class does not calculate a best fit for the caption.

The width parameter must always be known.

Copyright © 2013 by LMD Innovative. All rights reserved.
Copyright © 2013 by LMD Innovative. All rights reserved.
What do you think about this topic? Send feedback!