LineLabelShape.ILineLabel.UpdateLabelOffset Method
Updates the label's offset from its anchor point based on the change in position.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Déclaration
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 size of the label.
- newBounds
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
new size of the label.
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.