FitDocumentToWindow Method Example
IMPORTANT: The FitDocumentToWindow Method Example does not apply to documents that use the Enhanced Coordinate system. It is only available for documents using Logical Coordinates
The following example changes the size of the TestPictureDocument to fit within the window.
TestPicture.FitDocumentToWindow
The following example changes the size of the TestPictureDocument to fit within the window, preventing the repainting of the Picture.
TestPicture. FitDocumentToWindow False