Access graph object's properties default value
BOOL okutil_access_graphobject_default( int nType, void * pSetting, int nOptions )
return false if nType and pSetting and nOptions do not match.
EX1
BOOL OC_EnableRescaleIncludeGraphObjs(BOOL bEnable) { GrObjCommonProp prop; okutil_access_graphobject_default(GROBJ_TN_UNKNOWN, &prop, AGRD_DEFAULT_GET | AGRD_PROPERTY_COMMON); BOOL bOldVal = prop.bRescaleInc; prop.bRescaleInc = bEnable; okutil_access_graphobject_default(GROBJ_TN_UNKNOWN, &prop, AGRD_DEFAULT_SET | AGRD_PROPERTY_COMMON); return bOldVal; }
origin.h