API Reference > OdDb Classes > OdDbAbstractViewportDataForAbstractViewTabRec Class > OdDbAbstractViewportDataForAbstractViewTabRec Methods > OdDbAbstractViewportDataForAbstractViewTabRec::setContrast Method
OdDbAbstractViewportDataForAbstractViewTabRec::setContrast Method
Syntax
C++
void setContrast(OdRxObject* pViewport, double contrast) const;
Parameters 
Description 
OdRxObject* pViewport 
[in] Input pointer to the viewport object.  
double contrast 
[in] Input brightness value. 

Sets the contrast value to the specified viewport object.

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