Share

AcDbDxfFiler::writeString

C++

virtual Acad::ErrorStatus writeString(
    AcDb::DxfCode code, 
    const ACHAR* pVal
) = 0;

Description

The implementation of this function should follow that of the ObjectARX internal filers. It should:

  • Check the current filer status. If it's Acad::eOk, then continue, or else return the current status.
  • Write out the AcDb::DxfCode in code.
See the AcDbDxfFiler DXF Group Codes section for information on which DXF group codes are valid for strings.
  • Write out the string pointed to by pVal.
  • Return an Acad::ErrorStatus value indicating the success or failure of the operation (use Acad::eOk to indicate success).
Note

When using the ObjectARX internal filers (that is, not a custom filer), this method does not do anything about platform-dependent byte order.

Parameters

Parameters Description
unnamed1 DXF group code to be written out
unnamed2 Pointer to string to be written out

Links

AcDbDxfFiler

Was this information helpful?