Accusoft.PrintPro8.Net
TextAligned(PointF,PointF,String,Alignment,Boolean) 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.
The Alignment of the text.
A boolean value which indicates whether or not word-wrapping is to occur. A value of true for word wrapping to occur and false for word wrapping not to occur.
Outputs text with a specified alignment.
Syntax
'Declaration
 
Public Overloads Sub TextAligned( _
   ByVal startPoint As PointF, _
   ByVal endPoint As PointF, _
   ByVal text As String, _
   ByVal alignment As Alignment, _
   ByVal wordWrap As Boolean _
) 
'Usage
 
Dim instance As Draw
Dim startPoint As PointF
Dim endPoint As PointF
Dim text As String
Dim alignment As Alignment
Dim wordWrap As Boolean
 
instance.TextAligned(startPoint, endPoint, text, alignment, wordWrap)
public void TextAligned( 
   PointF startPoint,
   PointF endPoint,
   string text,
   Alignment alignment,
   bool wordWrap
)
public: void TextAligned( 
   PointF startPoint,
   PointF endPoint,
   string* text,
   Alignment alignment,
   bool wordWrap
) 
public:
void TextAligned( 
   PointF startPoint,
   PointF endPoint,
   String^ text,
   Alignment alignment,
   bool wordWrap
) 

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.
alignment
The Alignment of the text.
wordWrap
A boolean value which indicates whether or not word-wrapping is to occur. A value of true for word wrapping to occur and false for word wrapping not to occur.
See Also

Reference

Draw Class
Draw Members
Overload List

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback