API Reference > OdDb Classes > OdDbViewport Class > OdDbViewport Methods > OdDbViewport::isUcsOrthographic Method
OdDbViewport::isUcsOrthographic Method
Syntax
C++
bool isUcsOrthographic(OdDb::OrthographicView& viewType, const OdDbDatabase* pDb = 0) const;
Parameters 
Description 
OdDb::OrthographicView& viewType 
[out] Receives the orthographic view type.  
const OdDbDatabase* pDb = 0 
[in] Working database. If object is a database resident this parameter is ignored. 

Returns the type of orthographic view.

True if and only if the UCS associated with this Viewport object is orthographic with respect to UCSBASE (DXF 79). 

 

viewType must be one of the following: 

 

Name 
Value 
View type 
OdDb::kNonOrthoView 
Non-orthographic with respect to the UCS 
OdDb::kTopView 
Top view with respect to the UCS 
OdDb::kBottomView 
Bottom view with respect to the UCS 
OdDb::kFrontView 
Front view with respect to the UCS 
OdDb::kBackView 
Back view with respect to the UCS 
OdDb::kLeftView 
Left view with respect to the UCS 
OdDb::kRightView 
Right view with respect to the UCS 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.