#!F-adobe-helvetica-medium-r-normal--18* #!N #!N #!Rdxgia DXGetIntegerAttribute #!N #!N Function #!N #!N Retrieves a named attribute from an Object, verifies that its contents are an integer number, and returns that number. #!N #!N Syntax #!N #!F-adobe-times-bold-r-normal--18* #include <dx/dx.h> Object DXGetIntegerAttribute(Object o, char *name, int *x) #!EF #!N #!N Functional Details #!N #!N Retrieves the attribute specified by the string #!F-adobe-times-bold-r-normal--18* name #!EF from Object #!F-adobe-times-bold-r-normal--18* o #!EF . It then verifies that the attribute contains a scalar integer value. If #!F-adobe-times-bold-r-normal--18* x #!EF is not #!F-adobe-times-bold-r-normal--18* NULL #!EF , the integer value is returned in #!F-adobe-times-bold-r-normal--18* *x #!EF . #!N #!N Return Value #!N #!N Returns #!F-adobe-times-bold-r-normal--18* o #!EF or returns #!F-adobe-times-bold-r-normal--18* NULL #!EF without setting an error code. #!N #!N See Also #!N #!N #!F-adobe-times-bold-r-normal--18* #!Ldxga,dxall1223 h DXGetAttribute #!EL , #!Ldxgea,dxall1231 h DXGetEnumeratedAttribute #!EL , #!Ldxgfa,dxall1238 h DXGetFloatAttribute #!EL , #!Ldxgsa,dxall1268 h DXGetStringAttribute #!EL , #!Ldxseta,dxall1367 h DXSetAttribute, DXDeleteAttribute #!EL , #!Ldxsfa,dxall1379 h DXSetFloatAttribute #!EL , #!Ldxsia,dxall1381 h DXSetIntegerAttribute #!EL , #!Ldxssa,dxall1392 h DXSetStringAttribute #!EL #!EF #!N #!N #!Lotrs,dxall1100 h Object Routines #!EL . #!N #!N #!N #!F-adobe-times-medium-i-normal--18* Next Topic #!EF #!N #!N #!Ldxgica,dxall1243 h DXGetInvalidComponentArray #!EL #!N #!F-adobe-times-medium-i-normal--18* #!N
Generated by dwww version 1.15 on Sat Jun 22 12:48:24 CEST 2024.