LineLabelShape::ILineLabel::UpdateLabelOffset Method (RectangleD, RectangleD)

 

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)

private:
virtual void UpdateLabelOffset(
	RectangleD oldBounds,
	RectangleD newBounds
) sealed = ILineLabel::UpdateLabelOffset

Parameters

oldBounds
Type: Microsoft.VisualStudio.Modeling.Diagrams::RectangleD

old size of the label.

newBounds
Type: Microsoft.VisualStudio.Modeling.Diagrams::RectangleD

new size of the label.

Return to top
Show: