Document Solutions for PDF
DS.Documents.Imaging Assembly / GrapeCity.Documents.Drawing Namespace / GcGraphics Class / DrawRotatedText Method
The GrapeCity.Documents.Text.TextLayout to draw.
The text rotation angle, in degrees. The expected range is [-90, +90].
If false, text lines are stacked horizontally along the top and bottom sides of rect. If true, the lines are stacked vertically along the left and right sides of the rectangle.
The target rectangle for the text.
Alignment of the text in the target rectangle.

In This Topic
    DrawRotatedText Method
    In This Topic
    Syntax
    'Declaration
     
    Public Sub DrawRotatedText( _
       ByVal textLayout As TextLayout, _
       ByVal angle As System.Integer, _
       ByVal verticalStacking As System.Boolean, _
       ByVal rect As System.Drawing.RectangleF, _
       ByVal alignment As RotatedTextAlignment _
    ) 
    public void DrawRotatedText( 
       TextLayout textLayout,
       System.int angle,
       System.bool verticalStacking,
       System.Drawing.RectangleF rect,
       RotatedTextAlignment alignment
    )

    Parameters

    textLayout
    The GrapeCity.Documents.Text.TextLayout to draw.
    angle
    The text rotation angle, in degrees. The expected range is [-90, +90].
    verticalStacking
    If false, text lines are stacked horizontally along the top and bottom sides of rect. If true, the lines are stacked vertically along the left and right sides of the rectangle.
    rect
    The target rectangle for the text.
    alignment
    Alignment of the text in the target rectangle.
    See Also