Share

AcDbDxfFiler::setPrecision

C++

virtual void setPrecision(
    int prec
);

Description

The implementation of this function should follow that of the ObjectARX internal filers. It should set the filer to subsequently use prec as the default precision for writing out any data that requires decimal precision such as doubles, points, and so forth.

The individual writeXxxx() methods that use precision (such as AcDbDxfFiler::writeDouble()) have the ability to override this setting.

The default implementation is to do nothing.

Parameters

Parameters Description
prec Input precision value (in the range -1 to 16)

Links

AcDbDxfFiler

Was this information helpful?