Reports for WPF
RenderDirectRectangle(Unit,Unit,Unit,Unit,Color,Unit,Color) メソッド

C1.WPF.C1Report.4 アセンブリ > C1.C1Preview 名前空間 > C1PrintDocument クラス > RenderDirectRectangle メソッド : RenderDirectRectangle(Unit,Unit,Unit,Unit,Color,Unit,Color) メソッド
四角形のレンダリング位置の水平(X)座標(auto は使用不可)。
四角形のレンダリング位置の垂直(Y)座標(auto は使用不可)。
四角形の幅。
四角形の高さ。
線の色。
線の太さ。
塗りつぶし色。
四角形を現在のドキュメントの Body の現在のページ上の指定位置に追加して解決します。
シンタックス
'宣言
 
Public Overloads Sub RenderDirectRectangle( _
   ByVal x As Unit, _
   ByVal y As Unit, _
   ByVal width As Unit, _
   ByVal height As Unit, _
   ByVal lineColor As System.Windows.Media.Color, _
   ByVal lineThickness As Unit, _
   ByVal fillColor As System.Windows.Media.Color _
) 
public void RenderDirectRectangle( 
   Unit x,
   Unit y,
   Unit width,
   Unit height,
   System.Windows.Media.Color lineColor,
   Unit lineThickness,
   System.Windows.Media.Color fillColor
)

パラメータ

x
四角形のレンダリング位置の水平(X)座標(auto は使用不可)。
y
四角形のレンダリング位置の垂直(Y)座標(auto は使用不可)。
width
四角形の幅。
height
四角形の高さ。
lineColor
線の色。
lineThickness
線の太さ。
fillColor
塗りつぶし色。
解説

このメソッドは、現在のドキュメント上の StartDoc メソッド呼び出しと EndDoc メソッド呼び出しの間でのみ使用できます。 詳細は、RenderDirect(Unit,Unit,RenderObject,Object,Object) を参照してください。

参照

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