Share

AcDbPlotSettingsValidator::setStdScale

C++

virtual Acad::ErrorStatus setStdScale(
    AcDbPlotSettings* pPlotSet, 
    const double standardScale
) = 0;

Description

Sets the standard scale value as a floating point scale. Each enumerated value in the enum StdScaleType maps to a single floating point number. This method allows an application to specify a standard scale without having to do a table lookup to compute the scale value.

The stdScaleType property stores the "standard" print scale selection, including scale-to-fit, for the plot settings object. It is not a number like customPrintScale, but is an enum indicating the desired print scale. AutoCAD uses this, along with other information like the plot area, to compute the customPrintScale when useStandardScale is true. While the stdScaleType property always has a value, it may or may not be reflected in the customPrintScale, depending on the value of the useStandardScale property.

Parameters

Parameters Description
pPlotSet Input pointer to AcDbPlotSettings object
standardScale Input standard scale value

Links

AcDbPlotSettingsValidator

Was this information helpful?