DioDocs for PDF
SetVerticalCenter(LayoutRect,AnchorParam,Single) メソッド

GrapeCity.Documents.Imaging アセンブリ > GrapeCity.Documents.Layout 名前空間 > LayoutRect クラス > SetVerticalCenter メソッド : SetVerticalCenter(LayoutRect,AnchorParam,Single) メソッド
The referenced LayoutRect; null means the view rectangle.
The source parameter of the anchorRect.
An increment to the value of the source parameter.
Adds the VerticalCenter constraint relative to anchorRect.
シンタックス
'宣言
 
Public Overloads Function SetVerticalCenter( _
   ByVal anchorRect As LayoutRect, _
   ByVal anchorParam As AnchorParam, _
   Optional ByVal offset As System.Single _
) As PositionConstraint
public PositionConstraint SetVerticalCenter( 
   LayoutRect anchorRect,
   AnchorParam anchorParam,
   System.float offset
)

パラメータ

anchorRect
The referenced LayoutRect; null means the view rectangle.
anchorParam
The source parameter of the anchorRect.
offset
An increment to the value of the source parameter.

戻り値の型

New constraint just added.
参照

LayoutRect クラス
LayoutRect メンバ
オーバーロード一覧