Udostępnij za pośrednictwem


MoveableDecoratorHostShape.ILineLabel.UpdateLabelOffset Method

Definition

This method is called when the position/size of the ILineLabel is explicitly changed by the user.

 virtual void Microsoft.VisualStudio.Modeling.Diagrams.ILineLabel.UpdateLabelOffset(Microsoft::VisualStudio::Modeling::Diagrams::RectangleD oldBounds, Microsoft::VisualStudio::Modeling::Diagrams::RectangleD newBounds) = Microsoft::VisualStudio::Modeling::Diagrams::ILineLabel::UpdateLabelOffset;
void ILineLabel.UpdateLabelOffset (Microsoft.VisualStudio.Modeling.Diagrams.RectangleD oldBounds, Microsoft.VisualStudio.Modeling.Diagrams.RectangleD newBounds);
override this.Microsoft.VisualStudio.Modeling.Diagrams.ILineLabel.UpdateLabelOffset : Microsoft.VisualStudio.Modeling.Diagrams.RectangleD * Microsoft.VisualStudio.Modeling.Diagrams.RectangleD -> unit
Sub UpdateLabelOffset (oldBounds As RectangleD, newBounds As RectangleD) Implements ILineLabel.UpdateLabelOffset

Parameters

oldBounds
RectangleD

Old bounds of this ILineLabel, not used.

newBounds
RectangleD

New bounds of this ILineLabel.

Implements

Applies to