API Reference > OdDAI Namespace > Classes > ApplicationInstance Class > ApplicationInstance Methods > ApplicationInstance::validateStringWidth Method
ApplicationInstance::validateStringWidth Method
Syntax
C++
Logical validateStringWidth(OdArray<OdDAI::Attribute*>& aggr) const;
Parameters 
Description 
OdArray<OdDAI::Attribute*>& aggr 
[out] An array of pointers to Attribute instances which have incorrect width for the application instance.  

True if all attribute string values are of correct width, false if width constraint is violated, and Unknown if expression evaluation value is unknown or indeterminate.

Checks whether the instance has string attributes with incorrect width and retrieves the list of such attributes.

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.