DrawText(String,Font,Rectangle,Rectangle,HorizontalAlignment,VerticalAlignment,Boolean,Int32,Boolean) Method
In This Topic
Syntax
'Declaration
Public MustOverride Sub DrawText( _
ByVal As String, _
ByVal As Font, _
ByVal As Rectangle, _
ByVal As Rectangle, _
ByVal As HorizontalAlignment, _
ByVal As VerticalAlignment, _
ByVal As Boolean, _
Optional ByVal As Integer, _
Optional ByVal As Boolean _
)
'Usage
Dim instance As PrintingContext
Dim text As String
Dim font As Font
Dim rect As Rectangle
Dim padding As Rectangle
Dim left As HorizontalAlignment
Dim bottom As VerticalAlignment
Dim wrapText As Boolean
Dim rotation As Integer
Dim shrinkToFit As Boolean
instance.DrawText(text, font, rect, padding, left, bottom, wrapText, rotation, shrinkToFit)
public abstract void DrawText(
string ,
Font ,
Rectangle ,
Rectangle ,
HorizontalAlignment ,
VerticalAlignment ,
bool ,
int ,
bool
)
Parameters
- text
- font
- rect
- padding
- left
- bottom
- wrapText
- rotation
- shrinkToFit
See Also