AcMapDMScaleFactor:: DMGetUnCachedCurrentScaleFactor Function
Immediately computes the current scale factor.
double DMGetUnCachedCurrentScaleFactor( AcDbDatabase * pDb, double override_dpi = 0.0, long override_windnumber = -1 );
File
DmScaleFactor.h
Parameters |
Description |
pDb |
Input AcDbDatabase to compute scale factor. |
override_dpi |
Input value to override internal dpi calculation. Default value of 0.0 indicates to the function to get the screen dpi from the operating system. |
override_windnumber |
Input value to override selected viewport number for a layout. Default value of -1 indicates to the function to use the current paperspace layout viewport to compute the scale factor |
Returns
Returns the current scale factor.
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].