Queries the default printer about its page size and sets the ScaleFactor to a value that makes the whole diagram fit in a single page.
SyntaxVB6
Copy Code
|
|---|
Public Sub ScaleToPage () |
C++
Copy Code
|
|---|
public: |
RemarksThis method is used by the 'Fit page' button on the Print Preview toolbar.
See Also