Share

AcDbPlotSettingsValidator::setUseStandardScale

C++

virtual Acad::ErrorStatus setUseStandardScale(
    AcDbPlotSettings* pPlotSet, 
    Adesk::Boolean useStandard
) = 0;

Description

Determines whether the layout will use the stdScaleType property to calculate the current plot scale.

The useStandardScale property indicates whether the stdScaleType property is used to compute the scale of the plot. If true, the customPrintScale property reflects the computed scale corresponding to the stdScaleType. If false, the customPrintScale property and the stdScaleType properties are unrelated, and only the customPrintScale property is valid.

In other words, the customPrintScale property always reflects the current scale used to plot, regardless of whether it was computed based on a standard scale or was specified directly by the user. The useStandardScale property indicates how the customPrintScale was obtained (by calculating it from a standard scale, including scale-to-fit, or by the user specifying it directly). The stdScaleType property always has a value, but is only used to compute the customPrintScale when the useStandardScale property is true.

Parameters

Parameters Description
pPlotSet Input pointer to AcDbPlotSettings object
useStandard Input Boolean indicating whether to use standard scale

Links

AcDbPlotSettingsValidator

Was this information helpful?