.Net Framework > v2.0.50727 > System > Windows > Forms > VisualStyles > VisualStyleRenderer > GetTextExtent GetTextExtent(IDeviceContext,Rectangle,String,TextFormatFlags)
GetTextExtent(IDeviceContext,String,TextFormatFlags)


GetTextExtent(IDeviceContext,Rectangle,String,TextFormatFlags)

Category
Method
Description
Returns the size and location of the specified string when drawn with the font of the current visual style element within the specified initial bounding rectangle.
Type
Rectangle
Character
public
Parameters
NameTypeDescription
dcIDeviceContext
boundsRectangle
textToDrawString
flagsTextFormatFlags
Tags
01892ABD01, 02E3ABA98D, 0376596F91

GetTextExtent(IDeviceContext,String,TextFormatFlags)

Category
Method
Description
Returns the size and location of the specified string when drawn with the font of the current visual style element.
Type
Rectangle
Character
public
Parameters
NameTypeDescription
dcIDeviceContext
textToDrawString
flagsTextFormatFlags
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database