DioDocs for PDF
GetConstraint(TargetParam,LayoutRect,AnchorParam) メソッド

GrapeCity.Documents.Imaging アセンブリ > GrapeCity.Documents.Layout 名前空間 > LayoutRect クラス > GetConstraint メソッド : GetConstraint(TargetParam,LayoutRect,AnchorParam) メソッド
The target parameter of the Constraint to search for.
The referenced (anchor) LayoutRect of the constraint.
The source parameter of the anchor LayoutRect; AnchorParam.None means any anchor parameter.
Searches for a constraint for the specified target parameter, referencing the given LayoutRect.
シンタックス
'宣言
 
Public Overloads Function GetConstraint( _
   ByVal targetParam As TargetParam, _
   ByVal anchorRect As LayoutRect, _
   Optional ByVal anchorParam As AnchorParam _
) As Constraint
public Constraint GetConstraint( 
   TargetParam targetParam,
   LayoutRect anchorRect,
   AnchorParam anchorParam
)

パラメータ

targetParam
The target parameter of the Constraint to search for.
anchorRect
The referenced (anchor) LayoutRect of the constraint.
anchorParam
The source parameter of the anchor LayoutRect; AnchorParam.None means any anchor parameter.

戻り値の型

The found Constraint object or null if the constraint is not found.
参照

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