API Reference > OdDb Classes > OdDbDetailViewStyle Class > OdDbDetailViewStyle Methods > OdDbDetailViewStyle::setViewLabelPattern Method
OdDbDetailViewStyle::setViewLabelPattern Method
Syntax
C++
OdResult setViewLabelPattern(const OdString& pattern, const OdDbField* pField = NULL);

OdDb::eOk if successful.

Sets the view label's pattern. 

pattern Pattern to assign to the view label. pField (Optional) Specify a field to assign the pattern from the field (instead of the pattern itself).

Copyright © 2002–2020. Open Design Alliance. All rights reserved.