API Reference > Classes > PRC Markup Classes > OdPrcMarkup Class > OdPrcMarkup Methods > OdPrcMarkup::setType Method
OdPrcMarkup::setType Method
Syntax
C++
OdResult setType(OdPrcMarkup::MarkupType type, OdPrcMarkup::MarkupSubType subType = kUnknownSubtype, bool validate = true);
Parameters 
Description 
OdPrcMarkup::MarkupType type 
[in] A new markup type to be set.  
OdPrcMarkup::MarkupSubType subType = kUnknownSubtype 
[in] A new markup sub-type to be set.  
bool validate = true 
[in] Enable validation of type and sub type values. 

Sets a new markup type and sub type. 

 

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