Document Solutions for PDF
DS.Documents.Imaging Assembly / GrapeCity.Documents.Drawing Namespace / GcGraphics Class / DrawSlantedText 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 to be slanted with text.
Alignment of the text in the slanted rectangle.

In This Topic
    DrawSlantedText Method
    In This Topic
    Syntax
    'Declaration
     
    Public Sub DrawSlantedText( _
       ByVal textLayout As TextLayout, _
       ByVal angle As System.Integer, _
       ByVal verticalStacking As System.Boolean, _
       ByVal rect As System.Drawing.RectangleF, _
       ByVal alignment As SlantedTextAlignment _
    ) 
    public void DrawSlantedText( 
       TextLayout textLayout,
       System.int angle,
       System.bool verticalStacking,
       System.Drawing.RectangleF rect,
       SlantedTextAlignment 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 to be slanted with text.
    alignment
    Alignment of the text in the slanted rectangle.
    See Also