.Net Framework > v2.0.50727 > System > Windows > Forms > TextRenderer > MeasureText MeasureText(IDeviceContext,String,Font)
MeasureText(IDeviceContext,String,Font,Size)
MeasureText(IDeviceContext,String,Font,Size,TextFormatFlags)
MeasureText(String,Font)
MeasureText(String,Font,Size)
MeasureText(String,Font,Size,TextFormatFlags)


MeasureText(IDeviceContext,String,Font)

Category
Method
Description
Provides the size, in pixels, of the specified text drawn with the specified font in the specified device context.
Type
Size
Character
public, static
Parameters
NameTypeDescription
dcIDeviceContext
textString
fontFont
Tags
01892ABD01, 02E3ABA98D, 0376596F91

MeasureText(IDeviceContext,String,Font,Size)

Category
Method
Description
Provides the size, in pixels, of the specified text when drawn with the specified font in the specified device context, using the specified size to create an initial bounding rectangle for the text.
Type
Size
Character
public, static
Parameters
NameTypeDescription
dcIDeviceContext
textString
fontFont
proposedSizeSize
Tags
01892ABD01, 02E3ABA98D, 0376596F91

MeasureText(IDeviceContext,String,Font,Size,TextFormatFlags)

Category
Method
Description
Provides the size, in pixels, of the specified text when drawn with the specified device context, font, and formatting instructions, using the specified size to create the initial bounding rectangle for the text.
Type
Size
Character
public, static
Parameters
NameTypeDescription
dcIDeviceContext
textString
fontFont
proposedSizeSize
flagsTextFormatFlags
Tags
01892ABD01, 02E3ABA98D, 0376596F91

MeasureText(String,Font)

Category
Method
Description
Provides the size, in pixels, of the specified text when drawn with the specified font.
Type
Size
Character
public, static
Parameters
NameTypeDescription
textString
fontFont
Tags
01892ABD01, 02E3ABA98D, 0376596F91

MeasureText(String,Font,Size)

Category
Method
Description
Provides the size, in pixels, of the specified text when drawn with the specified font, using the specified size to create an initial bounding rectangle.
Type
Size
Character
public, static
Parameters
NameTypeDescription
textString
fontFont
proposedSizeSize
Tags
01892ABD01, 02E3ABA98D, 0376596F91

MeasureText(String,Font,Size,TextFormatFlags)

Category
Method
Description
Provides the size, in pixels, of the specified text when drawn with the specified font and formatting instructions, using the specified size to create the initial bounding rectangle for the text.
Type
Size
Character
public, static
Parameters
NameTypeDescription
textString
fontFont
proposedSizeSize
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