共用方式為


DecoratorHostShape.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);
abstract member Microsoft.VisualStudio.Modeling.Diagrams.ILineLabel.UpdateLabelOffset : Microsoft.VisualStudio.Modeling.Diagrams.RectangleD * Microsoft.VisualStudio.Modeling.Diagrams.RectangleD -> unit
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.

newBounds
RectangleD

New bounds of this ILineLabel.

Implements

Applies to