Delen via


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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.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

Implements

ILineLabel.UpdateLabelOffset(RectangleD, RectangleD)

.NET Framework Security

See Also

Reference

LineLabelShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace