LineLabelShape.ILineLabel.UpdateLabelOffset(RectangleD, RectangleD) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.