CODComponent::SetValue
Sets the value of the given property.
Defined in: OdComponent.cpp
Syntax
BOOL CODComponent::SetValue(const int nPropId, LPCTSTR lpszValue)BOOL CODComponent::SetValue(const int nPropId, const int nValue)
BOOL CODComponent::SetValue(const int nPropId, const UINT nValue)
BOOL CODComponent::SetValue(const int nPropId, const DWORD dwValue)
BOOL CODComponent::SetValue(const int nPropId, const float fValue)
Return Value
TRUE if the property identifier is found in the component and the input value successfully assigned to the property. FALSE if the component does not contain the specified property.
Parameters
nPropId
ID of property to set.
lpszValue
Input value to assign to the specified property.
nValue
Input value to assign to the specified property.
nValue
Input value to assign to the specified property.
dwValue
Input value to assign to the specified property.
fValue
Input value to assign to the specified property.