| Visual Basic (Declaration) | |
|---|---|
Public Function MeasureBodyTextSize( _ ByVal strText As String, _ ByVal fntFont As Font, _ ByVal szProposedSize As Size, _ ByVal bWordWrap As Boolean _ ) As Size | |
| C# | |
|---|---|
public Size MeasureBodyTextSize( string strText, Font fntFont, Size szProposedSize, bool bWordWrap ) | |
Parameters
- strText
- The string to measure.
- fntFont
- The Font to use in the calculation.
- szProposedSize
- The Size of the target text.
- bWordWrap
- A Boolean indicating wether or not to use wordwrap.