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


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

パラメータ

x
The horizontal (X) coordinate at which to render the text (cannot be auto).
y
The vertical (Y) coordinate at which to render the text (cannot be auto).
rtf
The RTF-formatted string to render.
width
The width of the text area (cannot be null or auto).
height
The height of the text area (can be null, in which case Unit.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 メンバ
オーバーロード一覧
RenderRichText クラス
RenderDirect(Unit,Unit,RenderObject,Object,Object) メソッド
StartDoc メソッド
EndDoc メソッド
Generate メソッド