MeasureText(String,Font,Size,Boolean) Method
In This Topic
Syntax
'Declaration
Public MustOverride Function MeasureText( _
ByVal As String, _
ByVal As Font, _
Optional ByVal As Size, _
Optional ByVal As Boolean _
) As Size
'Usage
Dim instance As PrintingContext
Dim text As String
Dim font As Font
Dim limitSize As Size
Dim wrapText As Boolean
Dim value As Size
value = instance.MeasureText(text, font, limitSize, wrapText)
public abstract Size MeasureText(
string ,
Font ,
Size ,
bool
)
Parameters
- text
- font
- limitSize
- wrapText
See Also