CODComponent::PutPropertyValue

bool CODComponent::PutPropertyValue(const PropertyId propId, const VARIANT& propVal)

Set a property value using the property ID.

Defined in: OdComponent.cpp

Return Value

Returns true if the property value for the given property ID is found and the value successfully assigned, otherwise it returns false.

Parameters

propId

Property ID to store.

propVal

Value to store in property.