Documentação da API > Feature element trees > Object ProElement > Function ProElementEcadAreaProColorSet
Function ProElementEcadAreaProColorSet
Description
Set the ProColor in the tree element. This should be used for PRO_E_ECAD_AREA_COLOR element.
Synopsis
#include <ProEcadArea.h>
ProElementEcadAreaProColorSet
(
ProElement treeElement
/* (In)
The ecad area element tree
*/
ProColor* proColor
/* (In)
Specify a defined ProColor structure whose data will be copied to the PRO_E_ECAD_AREA_COLOR element data. On redefining the element tree, the data from the ProColor structure will be used for the ECAD area color.
*/
)
Returns
The function succeeded.
The element did not contain the right type.
The ProColortype is invalid.
The RGB values are out of range.
The ecad area do not have color setting support.
One or more input arguments are invalid.
User Guide References
Isto foi útil?