API Reference > Classes > PRC Export-Import Classes > OdPrcExportContext Class > OdPrcExportContext Methods > getLineStyleID Method > OdPrcExportContext::getLineStyleID Method (DrawingMaterialNode &, OdPrcFileStructure &, bool)
OdPrcExportContext::getLineStyleID Method (DrawingMaterialNode &, OdPrcFileStructure &, bool)
Syntax
C++
OdPrcObjectId getLineStyleID(const DrawingMaterialNode & matNode, OdPrcFileStructure & fileStructure, bool createIfNotFound = true);
Parameters 
Description 
const DrawingMaterialNode & matNode 
[in] A material node.  
OdPrcFileStructure & fileStructure 
[out] An file structure to write the line style to.  
bool createIfNotFound = true 
[out] A flag that determines whether a new line style should be created if it is not found in the specified drawing color node.  

Returns an identifier of a line style object that was found or created.

Retrieves the identifier of a line style object for a specified drawing material node.

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