CODLineProperties::GetValue

Gets the value of the given property.

Defined in: OdLineProp.cpp

Syntax

BOOL CODLineProperties::GetValue(const int nPropId, CString& strValue) const

BOOL CODLineProperties::GetValue(const int nPropId, int& nValue) const

BOOL CODLineProperties::GetValue(const int nPropId, UINT& nValue) const

BOOL CODLineProperties::GetValue(const int nPropId, DWORD& dwValue) const

BOOL CODLineProperties::GetValue(const int nPropId, float& fValue) const

Return Value

TRUE if the property identifier is supported by this property container. FALSE if the property identifier is invalid.

Parameters

nPropId

ID of property to retrieve.

strValue

Variable to assign return value to.

nValue

Variable to assign return value to.

nValue

Variable to assign return value to.

dwValue

Variable to assign return value to.

fValue

Variable to assign return value to.

Comments

See  Line Property Identifiers for a list property IDs supported. This function will throw a  CODPropertyConversionException exception if the data type of the argument passed in is not compatible with the given property identifier.