Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Sub SetLeftAnchor ( _
sibling As NodeShape, _
percentage As Double _
)
'使用
Dim instance As AnchoringBehavior
Dim sibling As NodeShape
Dim percentage As Double
instance.SetLeftAnchor(sibling, percentage)
public void SetLeftAnchor(
NodeShape sibling,
double percentage
)
public:
void SetLeftAnchor(
NodeShape^ sibling,
double percentage
)
public function SetLeftAnchor(
sibling : NodeShape,
percentage : double
)
Parameters
- sibling
Type: Microsoft.VisualStudio.Modeling.Diagrams.NodeShape
- 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.