API Reference > Functions > saveCurrentTrueColor Function
saveCurrentTrueColor Function
Syntax
C++
OD_TOOLKIT_EXPORT void saveCurrentTrueColor(OdPrcExportContext & context, const PDF2PRCExportParams & params, const OdGiDrawable * pDrawable);

PrcExportColor.h

Parameters 
Description 
OdPrcExportContext & context 
[out] A placeholder for the context object where the color value should be saved.  
const PDF2PRCExportParams & params 
[in] A set of export parameters where the color value for saving is allocated.  
const OdGiDrawable * pDrawable 
[in] A raw pointer to a drawable entity. 

Saves the current true color to a specified export context object.

The function saves the color value in the passed context object and returns it to a calling subroutine.

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.