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