FlexReport for WPF
DeflateHalfLine メソッド (Utils)


C1.WPF.Document アセンブリ > C1.WPF.Document 名前空間 > Utils クラス : DeflateHalfLine メソッド
lefttop などの値の半分を rect の該当する辺から減算します。
シンタックス
'宣言
 
Public Shared Function DeflateHalfLine( _
   ByVal rect As System.Windows.Rect, _
   ByVal left As System.Double, _
   ByVal top As System.Double, _
   ByVal right As System.Double, _
   ByVal bottom As System.Double _
) As System.Windows.Rect
'使用法
 
Dim rect As System.Windows.Rect
Dim left As System.Double
Dim top As System.Double
Dim right As System.Double
Dim bottom As System.Double
Dim value As System.Windows.Rect
 
value = Utils.DeflateHalfLine(rect, left, top, right, bottom)
public static System.Windows.Rect DeflateHalfLine( 
   System.Windows.Rect rect,
   System.double left,
   System.double top,
   System.double right,
   System.double bottom
)

パラメータ

rect
left
top
right
bottom
参照

Utils クラス
Utils メンバ