'Declaration
Public Overloads Sub TextAligned( _
ByVal As PointF, _
ByVal As PointF, _
ByVal As String, _
ByVal As Alignment _
)
'Usage
Dim instance As Draw
Dim startPoint As PointF
Dim endPoint As PointF
Dim text As String
Dim alignment As Alignment
instance.TextAligned(startPoint, endPoint, text, alignment)