다음을 통해 공유


LinkShape.AbsoluteBoundingBoxToEnsureVisible Property

Gets the bounding rectangle that EnsureVisible will use. The rectangle is the same as AbsoluteBoundingBox but with height adjusted to be non-zero when width is non-zero. This is done because for single segment Links, the Height is 0 by default and can cause the selection bounds to return as 'empty' even when a link is truly selected.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property AbsoluteBoundingBoxToEnsureVisible As RectangleD
public override RectangleD AbsoluteBoundingBoxToEnsureVisible { get; }
public:
virtual property RectangleD AbsoluteBoundingBoxToEnsureVisible {
    RectangleD get () override;
}
abstract AbsoluteBoundingBoxToEnsureVisible : RectangleD with get 
override AbsoluteBoundingBoxToEnsureVisible : RectangleD with get
override function get AbsoluteBoundingBoxToEnsureVisible () : RectangleD

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD

.NET Framework Security

See Also

Reference

LinkShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace