API Reference > Classes > Database Classes > OdBmViewport Class
OdBmViewport Class
Syntax
C++
class OdBmViewport : public OdBmElement;

BmViewport.h

This class stores information of viewport.

Returns ID of viewport attributes. 
Returns 'true' if viewport is clipped. 
Returns ID of OdBmDrawing of this viewport. 
Returns ID of the associated OdBmDBView. 
Returns detail number of viewport. 
Returns length of viewport label. 
Returns origin of viewport label on the sheet 
Returns viewport offset. 
 
Returns viewport scale. 
Returns stretch value of viewport. 
Returns the GsView for the background elements of this viewport. 
Returns the GsView for the annotated elements of this viewport. 
Returns the GsView for the non-annotated elements of this viewport. 
Has the viewport views
  • details Returns 'true' if viewport is the first in the viewport array.
 
Sets the views for the non-annotated and annotated elements to this viewport.
 
Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.