# IBM Visualization Data Explorer Programmer's Reference

[ Bottom of Page | Previous Page | Next Page | Table of Contents | Partial Table of Contents | Index ]

### DXGetFloatAttribute

Function

Retrieves a named attribute from an Object, verifies that it contains a floating-point number, and returns that number.

Syntax
`
#include <dx/dx.h>
`

Object DXGetFloatAttribute(Object o, char *name, float *x)

Functional Details

The attribute to be retrieved from Object `o` is specified by the string `name`. The routine then verifies that the attribute contains a scalar floating-point value. If `x` is not `NULL`, the floating-point value is returned in `*x`.

Return Value

Returns `o` or returns `NULL` without setting an error code.

See Also

`DXGetAttribute, DXGetEnumeratedAttribute, DXGetIntegerAttribute, DXGetStringAttribute, DXSetAttribute, DXDeleteAttribute, DXSetFloatAttribute, DXSetIntegerAttribute, DXSetStringAttribute`

"Object Routines".

[ Top of Page | Previous Page | Next Page | Table of Contents | Partial Table of Contents | Index ]
[Data Explorer Documentation | QuickStart Guide | User's Guide | User's Reference | Programmer's Reference | Installation and Configuration Guide ]

[Data Explorer Home Page]

[IBM Home Page | Order | Search | Contact IBM | Legal ]