Ribbon for WinForms
DrawToGraphics(Graphics,RectangleF,Int32) メソッド

C1.Win.8 アセンブリ > C1.Win.SuperTooltip 名前空間 > C1SuperLabelBase クラス > DrawToGraphics メソッド : DrawToGraphics(Graphics,RectangleF,Int32) メソッド
System.Drawing.Graphics object where the content will be rendered.
System.Drawing.Rectangle that specifies the bounds where the content will be rendered.
Offset of the first line to draw (usually the return value of a previous call to DrawStringHtml).
Draws an HTML string in the specified rectangle with the specified System.Drawing.Brush and System.Drawing.Font objects, starting at a given offset within the string.
シンタックス
'宣言
 
Public Overloads Function DrawToGraphics( _
   ByVal g As Graphics, _
   ByVal bounds As RectangleF, _
   ByVal offset As Integer _
) As Integer
public int DrawToGraphics( 
   Graphics g,
   RectangleF bounds,
   int offset
)

パラメータ

g
System.Drawing.Graphics object where the content will be rendered.
bounds
System.Drawing.Rectangle that specifies the bounds where the content will be rendered.
offset
Offset of the first line to draw (usually the return value of a previous call to DrawStringHtml).

戻り値の型

The offset of the first line that was not printed because it did not fit in the specified rectangle, or the value of System.Int32.MaxValue if the entire string was rendered. By default zero.
参照

C1SuperLabelBase クラス
C1SuperLabelBase メンバ
オーバーロード一覧