SetCustomScale Method

Sets the custom scale for a layout or plot configuration.

See Also | Example

Signature

object.SetCustomScale(Numerator, Denominator)

Object

Layout, PlotConfiguration
The object or objects this method applies to.

Numerator

Double; input-only
A positive number representing the numerator in the scale ratio. This value represents the number of inches or mm for the scale.

Denominator

Double; input-only
A positive number representing the denominator in the scale ratio. This value represents the number of drawing units for the scale.

Remarks

The units for the Numerator parameter can be found in the PaperUnits property.

The Numerator and Denominator values must be greater than zero.

Changes made by this method will not be visible until after a regeneration of the drawing. Use the Regen method to regenerate the drawing.

 

   Comments?