Not
Å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.
Sets the page coordinates of a window's borders by adjusting the zoom level and center scroll position.
Syntax
expression. SetViewRect( _dLeft_ , _dTop_ , _dWidth_ , _dHeight_ )
expression A variable that represents a Window object.
Parameters
| Name | Required/Optional | Data type | Description |
|---|---|---|---|
| dLeft | Required | Double | The page coordinate of the left side of the window. |
| dTop | Required | Double | The page coordinate of the top of the window. |
| dWidth | Required | Double | The distance in page units from the left side to the right side of the window. |
| dHeight | Required | Double | The distance in page units from the top to the bottom of the window. |
Return value
Nothing
Remarks
If the Window object is not a visDrawing type, the SetViewRect method raises an exception.
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.