PrintDocument for WinForms
RenderDirectText(Unit,Unit,String,Object,Object,Style) メソッド


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > C1PrintDocument クラス > RenderDirectText メソッド : RenderDirectText(Unit,Unit,String,Object,Object,Style) メソッド
The horizontal (X) coordinate at which to render the image (cannot be auto).
The vertical (Y) coordinate at which to render the image (cannot be auto).
The string to render.
The width of the text area (if null, auto is used).
The height of the text area (if null, auto is used).
The C1PrintDocument.Style to use, or null.
Adds a text to the C1PrintDocument.Body of the current document at a specific position on the current page, and resolves it.
シンタックス
'宣言
 
Public Overloads Sub RenderDirectText( _
   ByVal x As Unit, _
   ByVal y As Unit, _
   ByVal text As System.String, _
   ByVal width As System.Object, _
   ByVal height As System.Object, _
   ByVal style As Style _
) 
'使用法
 
Dim instance As C1PrintDocument
Dim x As Unit
Dim y As Unit
Dim text As System.String
Dim width As System.Object
Dim height As System.Object
Dim style As Style
 
instance.RenderDirectText(x, y, text, width, height, style)
public void RenderDirectText( 
   Unit x,
   Unit y,
   System.string text,
   System.object width,
   System.object height,
   Style style
)

パラメータ

x
The horizontal (X) coordinate at which to render the image (cannot be auto).
y
The vertical (Y) coordinate at which to render the image (cannot be auto).
text
The string to render.
width
The width of the text area (if null, auto is used).
height
The height of the text area (if null, auto is used).
style
The C1PrintDocument.Style to use, or null.
解説

This method can only be used between calls to C1PrintDocument.StartDoc and C1PrintDocument.EndDoc methods on the current document. For details, see C1PrintDocument.RenderDirect.

参照

C1PrintDocument クラス
C1PrintDocument メンバ
オーバーロード一覧
RenderText クラス
RenderDirect(Unit,Unit,RenderObject,Object,Object) メソッド
StartDoc メソッド
EndDoc メソッド
Generate メソッド