ILineLabel.UpdateLabelOffset Method
This method is called when the position/size of the ILineLabel is explicitly changed by the user.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaração
Sub UpdateLabelOffset ( _
oldBounds As RectangleD, _
newBounds As RectangleD _
)
void UpdateLabelOffset(
RectangleD oldBounds,
RectangleD newBounds
)
void UpdateLabelOffset(
RectangleD oldBounds,
RectangleD newBounds
)
abstract UpdateLabelOffset :
oldBounds:RectangleD *
newBounds:RectangleD -> unit
function UpdateLabelOffset(
oldBounds : RectangleD,
newBounds : RectangleD
)
Parameters
- oldBounds
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
Old bounds of this ILineLabel.
- newBounds
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
New bounds of this ILineLabel.
.NET Framework Security
- 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.