Share

AcDbPlotSettingsValidator::setCustomPrintScale

C++

virtual Acad::ErrorStatus setCustomPrintScale(
    AcDbPlotSettings* pPlotSet, 
    const double numerator, 
    const double denominator
) = 0;

Description

This method sets the custom scale, a ratio of paperspace units to media units. The customPrintScale property stores the current scale (actually the numerator and denominator) for the plot settings for both "computed/standard" scales and "custom" scales. It always reflects the scale that will be used to plot.

The paperspace units are represented by the numerator, and the media units (paper units) are represented by the denominator. For example, 1 unit in paperspace would equal 0.5 units on the media when the print scale is set to 0.5.

Parameters

Parameters Description
pPlotSet Input pointer to AcDbPlotSettings object
numerator Input paperspace units
denominator Input media units (paper units)

Links

AcDbPlotSettingsValidator

Was this information helpful?