[]
Draws the specified string in the specified rectangle, with the specified font, color, alignments, orientation, hotkey prefix, and wrapping.
public static void DrawRotatedText(Graphics g, string s, Font font, Color foreColor, Rectangle rectText, HorizontalAlignment halign, TextOrientation textOrientation, bool wordWrap, HotkeyPrefix hotkeyPrefix, StringTrimming stringTrim, int drawRectHeight)
Public Shared Sub DrawRotatedText(g As Graphics, s As String, font As Font, foreColor As Color, rectText As Rectangle, halign As HorizontalAlignment, textOrientation As TextOrientation, wordWrap As Boolean, hotkeyPrefix As HotkeyPrefix, stringTrim As StringTrimming, drawRectHeight As Integer)
Type | Name | Description |
---|---|---|
Graphics | g | GDI+ graphics surface |
string | s | String to draw |
Font | font | Font to use |
Color | foreColor | Color of text |
Rectangle | rectText | Rectangle in which to draw string |
HorizontalAlignment | halign | Horizontal alignment |
TextOrientation | textOrientation | Text orientation |
bool | wordWrap | True to |
HotkeyPrefix | hotkeyPrefix | HotkeyPrefix |
StringTrimming | stringTrim | StringTrimming |
int | drawRectHeight | Height of the target rectangle in pixels |
Draws the specified string in the specified rectangle, with the specified font, color, alignment, orientation, wrapping, hotkey prefix, and string trimming.
public static void DrawRotatedText(Graphics g, string s, Font font, Color foreColor, RectangleF rectText, HorizontalAlignment halign, TextOrientation textOrientation, bool wordWrap, HotkeyPrefix hotkeyPrefix, StringTrimming stringTrim, int drawRectHeight)
Public Shared Sub DrawRotatedText(g As Graphics, s As String, font As Font, foreColor As Color, rectText As RectangleF, halign As HorizontalAlignment, textOrientation As TextOrientation, wordWrap As Boolean, hotkeyPrefix As HotkeyPrefix, stringTrim As StringTrimming, drawRectHeight As Integer)
Type | Name | Description |
---|---|---|
Graphics | g | GDI+ graphics surface |
string | s | String to draw |
Font | font | Font to use |
Color | foreColor | Color of text |
RectangleF | rectText | Rectangle in which to draw string |
HorizontalAlignment | halign | Horizontal alignment |
TextOrientation | textOrientation | Text orientation |
bool | wordWrap | True to wrap text, false otherwise |
HotkeyPrefix | hotkeyPrefix | HotkeyPrefix |
StringTrimming | stringTrim | StringTrimming |
int | drawRectHeight | Height of the target rectangle in pixels |
Draws the specified string in the specified rectangle, with the specified font, color, alignment, orientation, wrapping, hotkey prefix, and string trimming.
public static void DrawRotatedText(Graphics g, string s, Font font, Color foreColor, RectangleF rectText, HorizontalAlignment halign, VerticalAlignment valign, TextOrientation textOrientation, bool wordWrap, HotkeyPrefix hotkeyPrefix, StringTrimming stringTrim, int drawRectHeight)
Public Shared Sub DrawRotatedText(g As Graphics, s As String, font As Font, foreColor As Color, rectText As RectangleF, halign As HorizontalAlignment, valign As VerticalAlignment, textOrientation As TextOrientation, wordWrap As Boolean, hotkeyPrefix As HotkeyPrefix, stringTrim As StringTrimming, drawRectHeight As Integer)
Type | Name | Description |
---|---|---|
Graphics | g | GDI+ graphics surface |
string | s | String to draw |
Font | font | Font to use |
Color | foreColor | Color of text |
RectangleF | rectText | Rectangle in which to draw string |
HorizontalAlignment | halign | Horizontal alignment |
VerticalAlignment | valign | Vertical alignment |
TextOrientation | textOrientation | Text orientation |
bool | wordWrap | True to wrap text, false otherwise |
HotkeyPrefix | hotkeyPrefix | HotkeyPrefix |
StringTrimming | stringTrim | StringTrimming |
int | drawRectHeight | Height of the target rectangle in pixels |
Draws the specified string in the specified rectangle, with the specified font, color, alignment, orientation, wrapping, hotkey prefix, and string trimming.
public static void DrawRotatedText(Graphics g, string s, Font font, Color foreColor, RectangleF rectText, HorizontalAlignment halign, VerticalAlignment valign, TextOrientation textOrientation, bool wordWrap, HotkeyPrefix hotkeyPrefix, StringTrimming stringTrim, int drawRectHeight, bool adjust)
Public Shared Sub DrawRotatedText(g As Graphics, s As String, font As Font, foreColor As Color, rectText As RectangleF, halign As HorizontalAlignment, valign As VerticalAlignment, textOrientation As TextOrientation, wordWrap As Boolean, hotkeyPrefix As HotkeyPrefix, stringTrim As StringTrimming, drawRectHeight As Integer, adjust As Boolean)
Type | Name | Description |
---|---|---|
Graphics | g | GDI+ graphics surface |
string | s | String to draw |
Font | font | Font to use |
Color | foreColor | Color of text |
RectangleF | rectText | Rectangle in which to draw string |
HorizontalAlignment | halign | Horizontal alignment |
VerticalAlignment | valign | Vertical alignment |
TextOrientation | textOrientation | Text orientation |
bool | wordWrap | True to wrap text, false otherwise |
HotkeyPrefix | hotkeyPrefix | HotkeyPrefix |
StringTrimming | stringTrim | StringTrimming |
int | drawRectHeight | Height of the target rectangle in pixels |
bool | adjust | Whether to adjust the rectangle for alignment |
Draws the specified string in the specified rectangle, with the specified font, color, alignment, orientation, wrapping, hotkey prefix, and string trimming.
public static void DrawRotatedText(Graphics g, string s, Font font, Color foreColor, RectangleF rectText, HorizontalAlignment halign, VerticalAlignment valign, TextOrientation textOrientation, bool wordWrap, HotkeyPrefix hotkeyPrefix, StringTrimming stringTrim, int drawRectHeight, bool adjust, float rotationAngle)
Public Shared Sub DrawRotatedText(g As Graphics, s As String, font As Font, foreColor As Color, rectText As RectangleF, halign As HorizontalAlignment, valign As VerticalAlignment, textOrientation As TextOrientation, wordWrap As Boolean, hotkeyPrefix As HotkeyPrefix, stringTrim As StringTrimming, drawRectHeight As Integer, adjust As Boolean, rotationAngle As Single)
Type | Name | Description |
---|---|---|
Graphics | g | GDI+ graphics surface |
string | s | String to draw |
Font | font | Font to use |
Color | foreColor | Color of text |
RectangleF | rectText | Rectangle in which to draw string |
HorizontalAlignment | halign | Horizontal alignment |
VerticalAlignment | valign | Vertical alignment |
TextOrientation | textOrientation | Text orientation |
bool | wordWrap | True to wrap text, false otherwise |
HotkeyPrefix | hotkeyPrefix | HotkeyPrefix |
StringTrimming | stringTrim | StringTrimming |
int | drawRectHeight | Height of the target rectangle in pixels |
bool | adjust | Whether to adjust the rectangle for alignment |
float | rotationAngle | Angle to rotate text |
Draws the specified string in the specified rectangle, with the specified font, color, alignment, orientation, wrapping, hotkey prefix, string trimming, and rotation angle.
public static void DrawRotatedText(Graphics g, string s, Font font, Color foreColor, RectangleF rectText, HorizontalAlignment halign, VerticalAlignment valign, TextOrientation textOrientation, bool wordWrap, bool multiline, HotkeyPrefix hotkeyPrefix, StringTrimming stringTrim, int drawRectHeight, bool adjust, float rotationAngle)
Public Shared Sub DrawRotatedText(g As Graphics, s As String, font As Font, foreColor As Color, rectText As RectangleF, halign As HorizontalAlignment, valign As VerticalAlignment, textOrientation As TextOrientation, wordWrap As Boolean, multiline As Boolean, hotkeyPrefix As HotkeyPrefix, stringTrim As StringTrimming, drawRectHeight As Integer, adjust As Boolean, rotationAngle As Single)
Type | Name | Description |
---|---|---|
Graphics | g | GDI+ graphics surface |
string | s | String to draw |
Font | font | Font to use |
Color | foreColor | Color of text |
RectangleF | rectText | Rectangle in which to draw string |
HorizontalAlignment | halign | Horizontal alignment |
VerticalAlignment | valign | Vertical alignment |
TextOrientation | textOrientation | Text orientation |
bool | wordWrap | True to wrap text, false otherwise |
bool | multiline | True for multiline text |
HotkeyPrefix | hotkeyPrefix | HotkeyPrefix |
StringTrimming | stringTrim | StringTrimming |
int | drawRectHeight | Height of the target rectangle in pixels |
bool | adjust | Whether to adjust the rectangle for alignment |
float | rotationAngle | Angle to rotate text |
Draws the specified string in the specified rectangle, with the specified font, color, alignment, orientation, wrapping, hotkey prefix, string trimming, and rotation angle.
public static void DrawRotatedText(Graphics g, string s, Font font, Color foreColor, RectangleF rectText, HorizontalAlignment halign, VerticalAlignment valign, TextOrientation textOrientation, bool wordWrap, HotkeyPrefix hotkeyPrefix, StringTrimming stringTrim, int drawRectHeight, bool adjust, double rotationAngle, bool rightToLeft)
Public Shared Sub DrawRotatedText(g As Graphics, s As String, font As Font, foreColor As Color, rectText As RectangleF, halign As HorizontalAlignment, valign As VerticalAlignment, textOrientation As TextOrientation, wordWrap As Boolean, hotkeyPrefix As HotkeyPrefix, stringTrim As StringTrimming, drawRectHeight As Integer, adjust As Boolean, rotationAngle As Double, rightToLeft As Boolean)
Type | Name | Description |
---|---|---|
Graphics | g | GDI+ graphics surface |
string | s | String to draw |
Font | font | Font to use |
Color | foreColor | Color of text |
RectangleF | rectText | Rectangle in which to draw string |
HorizontalAlignment | halign | Horizontal alignment |
VerticalAlignment | valign | Vertical alignment |
TextOrientation | textOrientation | Text orientation |
bool | wordWrap | True to wrap text, false otherwise |
HotkeyPrefix | hotkeyPrefix | HotkeyPrefix |
StringTrimming | stringTrim | StringTrimming |
int | drawRectHeight | Height of the target rectangle in pixels |
bool | adjust | Whether to adjust the rectangle for alignment |
double | rotationAngle | Angle to rotate text |
bool | rightToLeft | True for right to left rendering |
Draws the specified string in the specified rectangle, with the specified font, color, alignment, orientation, wrapping, hotkey prefix, string trimming, and rotation angle.
public static void DrawRotatedText(Graphics g, string s, Font font, Color foreColor, RectangleF rectText, HorizontalAlignment halign, VerticalAlignment valign, TextOrientation textOrientation, bool wordWrap, bool multiline, HotkeyPrefix hotkeyPrefix, StringTrimming stringTrim, int drawRectHeight, bool adjust, double rotationAngle, bool rightToLeft)
Public Shared Sub DrawRotatedText(g As Graphics, s As String, font As Font, foreColor As Color, rectText As RectangleF, halign As HorizontalAlignment, valign As VerticalAlignment, textOrientation As TextOrientation, wordWrap As Boolean, multiline As Boolean, hotkeyPrefix As HotkeyPrefix, stringTrim As StringTrimming, drawRectHeight As Integer, adjust As Boolean, rotationAngle As Double, rightToLeft As Boolean)
Type | Name | Description |
---|---|---|
Graphics | g | GDI+ graphics surface |
string | s | String to draw |
Font | font | Font to use |
Color | foreColor | Color of text |
RectangleF | rectText | Rectangle in which to draw string |
HorizontalAlignment | halign | Horizontal alignment |
VerticalAlignment | valign | Vertical alignment |
TextOrientation | textOrientation | Text orientation |
bool | wordWrap | True to wrap text, false otherwise |
bool | multiline | True to draw text multiline, false otherwise |
HotkeyPrefix | hotkeyPrefix | HotkeyPrefix |
StringTrimming | stringTrim | StringTrimming |
int | drawRectHeight | Height of the target rectangle in pixels |
bool | adjust | Whether to adjust the rectangle for alignment |
double | rotationAngle | Angle to rotate text |
bool | rightToLeft | True for right to left rendering |
Draws the specified string in the specified rectangle, with the specified font, color, alignment, orientation, wrapping, hotkey prefix, string trimming, and rotation angle.
public static void DrawRotatedText(Graphics g, string s, Font font, Color foreColor, RectangleF rectText, HorizontalAlignment halign, VerticalAlignment valign, TextOrientation textOrientation, bool wordWrap, bool multiline, HotkeyPrefix hotkeyPrefix, StringTrimming stringTrim, int drawRectHeight, bool adjust, double rotationAngle, int txtIndent, bool rightToLeft)
Public Shared Sub DrawRotatedText(g As Graphics, s As String, font As Font, foreColor As Color, rectText As RectangleF, halign As HorizontalAlignment, valign As VerticalAlignment, textOrientation As TextOrientation, wordWrap As Boolean, multiline As Boolean, hotkeyPrefix As HotkeyPrefix, stringTrim As StringTrimming, drawRectHeight As Integer, adjust As Boolean, rotationAngle As Double, txtIndent As Integer, rightToLeft As Boolean)
Type | Name | Description |
---|---|---|
Graphics | g | GDI+ graphics surface |
string | s | String to draw |
Font | font | Font to use |
Color | foreColor | Color of text |
RectangleF | rectText | Rectangle in which to draw string |
HorizontalAlignment | halign | Horizontal alignment |
VerticalAlignment | valign | Vertical alignment |
TextOrientation | textOrientation | Text orientation |
bool | wordWrap | True to wrap text, false otherwise |
bool | multiline | True to draw text multiline, false otherwise |
HotkeyPrefix | hotkeyPrefix | HotkeyPrefix |
StringTrimming | stringTrim | StringTrimming |
int | drawRectHeight | Height of the target rectangle in pixels |
bool | adjust | Whether to adjust the rectangle for alignment |
double | rotationAngle | Angle to rotate text |
int | txtIndent | Amount of pixels to indent text |
bool | rightToLeft | True for right to left rendering |