SetScale

 

The SetScale method scales the map.

 

Syntax

object.SetScale( Width, Height, XYRelation, bFitPage )

 

Parameter

Type

Description

Width

Double

required; in page units

Height

Double

required; in page units

XYRelation

MVXYScaleRelation

required; XY scaling relationship

bFitPage

Boolean

required; true to fit map to page

 

Remarks

 

Example

This example sets the map scale using an XY relationship that is not 1 to 1.

 

Plot.SetScale( Width:=8, Height:=5.5, XYRelation:=mvXYNot1To1, bFitPage:=False )

 

Used by: PlotDocument object