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




A System.Drawing.RectangleF which represents the bounding box.
A string value 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.
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.
Draws text with the specified alignment.
Syntax
'Declaration
 
Public Overloads Sub TextAligned( _
   ByVal boundingBox As RectangleF, _
   ByVal text As String, _
   ByVal font As Font, _
   ByVal alignment As Alignment, _
   ByVal wordWrap As Boolean _
) 
'Usage
 
Dim instance As Draw
Dim boundingBox As RectangleF
Dim text As String
Dim font As Font
Dim alignment As Alignment
Dim wordWrap As Boolean
 
instance.TextAligned(boundingBox, text, font, alignment, wordWrap)
public void TextAligned( 
   RectangleF boundingBox,
   string text,
   Font font,
   Alignment alignment,
   bool wordWrap
)
public: void TextAligned( 
   RectangleF boundingBox,
   string* text,
   Font* font,
   Alignment alignment,
   bool wordWrap
) 
public:
void TextAligned( 
   RectangleF boundingBox,
   String^ text,
   Font^ font,
   Alignment alignment,
   bool wordWrap
) 

Parameters

boundingBox
A System.Drawing.RectangleF which represents the bounding box.
text
A string value 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.
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

 

 


©2019. Accusoft Corporation. All Rights Reserved.

Send Feedback