DecoratorHostShape.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
'Declaration
Private Sub UpdateLabelOffset ( _
oldBounds As RectangleD, _
newBounds As RectangleD _
) Implements ILineLabel.UpdateLabelOffset
void ILineLabel.UpdateLabelOffset(
RectangleD oldBounds,
RectangleD newBounds
)
private:
virtual void UpdateLabelOffset(
RectangleD oldBounds,
RectangleD newBounds
) sealed = ILineLabel::UpdateLabelOffset
private abstract UpdateLabelOffset :
oldBounds:RectangleD *
newBounds:RectangleD -> unit
private override UpdateLabelOffset :
oldBounds:RectangleD *
newBounds:RectangleD -> unit
JScript does not support explicit interface implementations.
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.
Implements
ILineLabel.UpdateLabelOffset(RectangleD, RectangleD)
.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.