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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
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.RectangleDOld bounds of this ILineLabel.
newBounds
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleDNew 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.