DioDocs for PDF
DrawRotatedText メソッド

DS.Documents.Imaging アセンブリ > GrapeCity.Documents.Drawing 名前空間 > GcGraphics クラス : DrawRotatedText メソッド
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.
Draws rotated text inside an unrotated rectangle.

Note that the original textLayout 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 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
)

パラメータ

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.
参照

GcGraphics クラス
GcGraphics メンバ