Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Zooms to show the portion of the diagram given by the specified rectangle.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Public Sub ZoomToFit ( _
viewRectangle As RectangleD _
)
public void ZoomToFit(
RectangleD viewRectangle
)
public:
void ZoomToFit(
RectangleD viewRectangle
)
member ZoomToFit :
viewRectangle:RectangleD -> unit
public function ZoomToFit(
viewRectangle : RectangleD
)
Parameters
viewRectangle
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleDThe rectangle of the view in world units relative to Diagram's top-left.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.