次の方法で共有


DiagramClientView.EnsureVisible Method (RectangleD, DiagramClientView.EnsureVisiblePreferences)

Ensures that the specified rectangle is visible in the view. This may require changes to the scroll positions and to the zoom.

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

Syntax

'宣言
Public Sub EnsureVisible ( _
    visibleRectangle As RectangleD, _
    preferences As DiagramClientView..::..EnsureVisiblePreferences _
)
public void EnsureVisible(
    RectangleD visibleRectangle,
    DiagramClientView..::..EnsureVisiblePreferences preferences
)
public:
void EnsureVisible(
    RectangleD visibleRectangle, 
    DiagramClientView..::..EnsureVisiblePreferences preferences
)
member EnsureVisible : 
        visibleRectangle:RectangleD * 
        preferences:DiagramClientView..::..EnsureVisiblePreferences -> unit 
public function EnsureVisible(
    visibleRectangle : RectangleD, 
    preferences : DiagramClientView..::..EnsureVisiblePreferences
)

Parameters

.NET Framework Security

See Also

Reference

DiagramClientView Class

EnsureVisible Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace