Method function IGDIPlus.IGPGraphics.GetStringBoundingBoxF(WideString;IGPFont;TGPRectF;IGPStringFormat;PInteger;PInteger) : TGPRectF
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Class: IGPGraphics
Contents |
Syntax
Delphi:
function GetStringBoundingBoxF( string_ : WideString, font : IGPFont, layoutRect : TGPRectF, stringFormat : IGPStringFormat, codepointsFitted : PInteger, linesFilled : PInteger ) : TGPRectF;
C++ Builder:
TGPRectF __fastcall GetStringBoundingBoxF( WideString string_, IGPFont font, TGPRectF layoutRect, IGPStringFormat stringFormat, PInteger codepointsFitted, PInteger linesFilled );
Visual C++ (MFC):
GetStringBoundingBoxF( string_, font, layoutRect, stringFormat, codepointsFitted, linesFilled );
Summary
Returns the extent of the string in the specified font and layout rectangle.
Description
Call this method to get the extent of the string in the specified font and layout rectangle.