Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Sub SetTopAnchor ( _
sibling As ShapeField, _
percentage As Double _
)
'使用
Dim instance As AnchoringBehavior
Dim sibling As ShapeField
Dim percentage As Double
instance.SetTopAnchor(sibling, percentage)
public void SetTopAnchor(
ShapeField sibling,
double percentage
)
public:
void SetTopAnchor(
ShapeField^ sibling,
double percentage
)
public function SetTopAnchor(
sibling : ShapeField,
percentage : double
)
Parameters
- sibling
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeField
- percentage
Type: System.Double
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.