Search
PrintOptions.ScaleTo Method
See Also
 



Sets the ScaleFactor to a value that makes the whole diagram fit in the rectangle defined by width and height when printed.

 Syntax

VB6  Copy Code

Public Sub ScaleTo( _
    ByVal width As Integer, _
    ByVal height As Integer, _
    ByVal contentOnly As Boolean _
)

C++  Copy Code

public:
void ScaleTo (
    short width,
    short height,
    bool contentOnly
)

 Parameters

width

height

contentOnly

 Remarks

If contentOnly is true, just the area that contains diagram items is fitted in the specified rectangle; if false, the whole document area, as defined via SetDocSize, is fitted.

 See Also