다음을 통해 공유


LineLabelShape.ILineLabel.UpdateLabelOffset(RectangleD, RectangleD) Method

Definition

Updates the label's offset from its anchor point based on the change in position.

 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 size of the label.

newBounds
RectangleD

new size of the label.

Implements

Applies to