PrintDocument for WinForms
RenderDirectImage(Unit,Unit,Image,Object,Object,ImageAlign) メソッド


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > C1PrintDocument クラス > RenderDirectImage メソッド : RenderDirectImage(Unit,Unit,Image,Object,Object,ImageAlign) メソッド
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 image to render.
The width of the image (if null, auto is used).
The height of the image (if null, auto is used).
The image alignment to use.
Adds an System.Drawing.Image to the C1PrintDocument.Body of the current document at a specific position on the current page, and resolves it.
シンタックス
'宣言
 
Public Overloads Sub RenderDirectImage( _
   ByVal x As Unit, _
   ByVal y As Unit, _
   ByVal image As System.Drawing.Image, _
   ByVal width As System.Object, _
   ByVal height As System.Object, _
   ByVal imageAlign As ImageAlign _
) 
'使用法
 
Dim instance As C1PrintDocument
Dim x As Unit
Dim y As Unit
Dim image As System.Drawing.Image
Dim width As System.Object
Dim height As System.Object
Dim imageAlign As ImageAlign
 
instance.RenderDirectImage(x, y, image, width, height, imageAlign)
public void RenderDirectImage( 
   Unit x,
   Unit y,
   System.Drawing.Image image,
   System.object width,
   System.object height,
   ImageAlign imageAlign
)

パラメータ

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).
image
The image to render.
width
The width of the image (if null, auto is used).
height
The height of the image (if null, auto is used).
imageAlign
The image alignment to use.
解説

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 メンバ
オーバーロード一覧
RenderImage クラス
RenderDirect(Unit,Unit,RenderObject,Object,Object) メソッド
StartDoc メソッド
EndDoc メソッド
Generate メソッド