DioDocs for PDF
DrawSlantedText メソッド

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

パラメータ

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

GcGraphics クラス
GcGraphics メンバ