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

GrapeCity.Documents.Imaging アセンブリ > GrapeCity.Documents.Layout 名前空間 > LayoutRect クラス > SetHorizontalCenter メソッド : SetHorizontalCenter(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 HorizontalCenter constraint relative to anchorRect.
シンタックス
'宣言
 
Public Overloads Function SetHorizontalCenter( _
   ByVal anchorRect As LayoutRect, _
   ByVal anchorParam As AnchorParam, _
   Optional ByVal offset As System.Single _
) As PositionConstraint
public PositionConstraint SetHorizontalCenter( 
   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 メンバ
オーバーロード一覧