Accusoft.PrintPro8.Net
TextAligned(PointF,PointF,String,Font,Alignment) Method




A System.Drawing.PointF which represents the upper-left point where the text is to be aligned from.
A System.Drawing.PointF which represents the lower-right point where the text is to be aligned from.
A string which represents the text to align and output.
A System.Drawing.Font which represents the font the text is to be rendered in.
The Alignment of the text.
Draws text with a specified alignment.
Syntax
'Declaration
 
Public Overloads Sub TextAligned( _
   ByVal startPoint As PointF, _
   ByVal endPoint As PointF, _
   ByVal text As String, _
   ByVal font As Font, _
   ByVal alignment As Alignment _
) 
'Usage
 
Dim instance As Draw
Dim startPoint As PointF
Dim endPoint As PointF
Dim text As String
Dim font As Font
Dim alignment As Alignment
 
instance.TextAligned(startPoint, endPoint, text, font, alignment)
public void TextAligned( 
   PointF startPoint,
   PointF endPoint,
   string text,
   Font font,
   Alignment alignment
)
public: void TextAligned( 
   PointF startPoint,
   PointF endPoint,
   string* text,
   Font* font,
   Alignment alignment
) 
public:
void TextAligned( 
   PointF startPoint,
   PointF endPoint,
   String^ text,
   Font^ font,
   Alignment alignment
) 

Parameters

startPoint
A System.Drawing.PointF which represents the upper-left point where the text is to be aligned from.
endPoint
A System.Drawing.PointF which represents the lower-right point where the text is to be aligned from.
text
A string which represents the text to align and output.
font
A System.Drawing.Font which represents the font the text is to be rendered in.
alignment
The Alignment of the text.
See Also

Reference

Draw Class
Draw Members
Overload List

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback