Belešku
Pristup ovoj stranici zahteva autorizaciju. Možete pokušati da se prijavite ili da promenite direktorijume.
Pristup ovoj stranici zahteva autorizaciju. Možete pokušati da promenite direktorijume.
Determines which auto-fit mode a window is in, if any. Read/write.
Syntax
expression.ViewFit
expression A variable that represents a Window object.
Return value
Long
Remarks
The ViewFit property applies to drawing windows only, and can have the following values.
| Constant | Value |
|---|---|
| visFitNone | 0 |
| visFitPage | 1 |
| visFitWidth | 2 |
If the value of the window's Type property is not visDrawing, the ViewFit property returns visFitNone. Attempting to set the ViewFit property of this type of window raises an exception.
If your Visual Studio solution includes the Microsoft.Office.Interop.Visio reference, this property maps to the following types:
- Microsoft.Office.Interop.Visio.IVWindow.ViewFit
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.