Draws rotated text inside an unrotated rectangle.
Note that the original will be changed by this method. If necessary, create a clone in advance.
Also note that the values of the following properties are ignored: GrapeCity.Documents.Text.TextLayout.MaxWidth, GrapeCity.Documents.Text.TextLayout.MaxHeight, GrapeCity.Documents.Text.TextLayout.FlowDirection, GrapeCity.Documents.Text.TextLayout.CanSkipFirstLineWithIndentation, GrapeCity.Documents.Text.TextLayout.ObjectRects, GrapeCity.Documents.Text.TextLayout.ParagraphAlignment, GrapeCity.Documents.Text.TextLayout.MarginLeft, GrapeCity.Documents.Text.TextLayout.MarginRight, GrapeCity.Documents.Text.TextLayout.MarginTop, GrapeCity.Documents.Text.TextLayout.MarginBottom, GrapeCity.Documents.Text.TextLayout.ColumnWidth, GrapeCity.Documents.Text.TextLayout.RowHeight.
シンタックス
'宣言
Public Sub DrawRotatedText( _
ByVal As TextLayout, _
ByVal As System.Integer, _
ByVal As System.Boolean, _
ByVal As System.Drawing.RectangleF, _
ByVal As RotatedTextAlignment _
)
public void DrawRotatedText(
TextLayout ,
System.int ,
System.bool ,
System.Drawing.RectangleF ,
RotatedTextAlignment
)
パラメータ
- 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 . 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.
参照