API Reference > OdDb Classes > OdDbAbstractViewportData Class
OdDbAbstractViewportData Class
OdDbAbstractViewportDataOdDbAbstractViewportDataOdDbAbstractViewportData
Syntax
C++
class OdDbAbstractViewportData : public OdAbstractViewPE;

DbAbstractViewportData.h

This class is the base class of Protocol Extension classes for OdDbViewport and OdDbViewportTableRecord objects. 

Corresponding C++ library: TD_Db

Only the following objects are supported: 

 

  • OdDbViewport
  • OdDbViewportTableRecord
  • Derivatives of one of the above

 

OdDbAbstractViewTableRecord

 
Name 
Description 
 
Returns the ambient light color of the specified viewport object.  
 
Applies plot settings to the view.  
 
Returns the brightness value of the specified viewport object.  
 
Returns the circle zoom percent for the specified viewport object.  
 
Returns compatible visual style or background object for the specified viewport.  
 
Returns the contrast value of the specified viewport object.  
 
Returns the grid increment for the specified viewport object.  
 
Returns the major grid lines frequency for the specified viewport object.  
 
Returns the gsView associated with the specified viewport object.  
 
Returns true if and only if there is a view offset associated with the specified viewport object.  
 
Returns the adaptive grid flag for the specified viewport object.  
 
Returns whether the grid is bound to limits for the specified viewport object.  
 
Returns the grid follow flag for the specified viewport object.  
 
Returns true if and only if the grid is on for the specified viewport object.  
 
Returns wheether grid subdivision is restricted for the specified viewport object.  
 
Returns true if and only if isometric snap style is on for the specified viewport object.  
 
Returns true if and only if the snap mode is on for the specified viewport object.  
 
Returns true if and only if UCS follow mode is on for the specified viewport object.
 
 
Returns true if and only if the UCS icon is at the UCS orgin for the specified viewport object.  
 
Returns true if and only if the UCS icon is visible for the specified viewport object.  
 
Returns true if and only if the UCS that is associated with the specified viewport object will become active with activation of the viewport object.
 
 
Returns the type of the viewcube display of the specified viewport object.  
 
This is ODRX_DECLARE_MEMBERS, a member of class OdDbAbstractViewportData. 
 
Sets the ambient light color to the specified viewport object.  
 
Sets the brightness value to the specified viewport object.  
 
Sets circle zoom percent for the specified viewport object.  
 
Sets the contrast value to the specified viewport object.  
 
Controls the adaptive grid flag for the specified viewport object.  
 
Controls whether the grid is bound to limits for the specified viewport object.  
 
Controls the grid follow flag for the specified viewport object.  
 
Sets the grid increment for the specified viewport object.  
 
Sets the major grid lines frequency for the specified viewport object.  
 
Controls the grid for the specified viewport object.  
 
Controls whether grid subdivision is restricted for the specified viewport object.  
 
Sets the gsView to the specified viewport object.  
 
Sets the type of the viewcube display to the specifiedvViewport object.  
 
Sets the parameters for the specified viewport object according to the arguments.  
 
Sets the UCS snap angle for the specified viewport object (DXF 50).  
 
Sets the UCS snap base point of the specified viewport object.  
 
Sets the snap increment of the specified viewport object.  
 
Controls the isometric snap style for the specified viewport object.  
 
Sets the snap IsoPair of this viewport object.  
 
Controls the snap mode for the specified viewport object.  
 
Sets the sun object to the specified viewport object.  
 
Sets the tone operator parameters to the specified viewport object.  
 
Sets the parameters for the specified view object according to the arguments.  
 
Controls UCS follow mode for the specified viewport object.
 
 
Controls the UCS icon display at the UCS orgin for the specified viewport object.  
 
Controls the UCS icon visibility for the specified viewport object.
 
 
Controls activation of the UCS that is associated with the specified viewport object when the viewport object is activated.
 
 
Applies data from one view to another view.  
 
Returns the UCS snap angle for the specified viewport object.  
 
Returns the UCS snap base point of the specified viewport object.  
 
Returns the snap increment of the specified viewport object.  
 
Returns the snap IsoPair of this viewport object.  
 
Returns the sun ID of the specified viewport object.  
 
This is the overview for the TD_USING method overload. 
 
Returns the tone operator parameters of the specified viewport object.  
Copyright © 2002–2020. Open Design Alliance. All rights reserved.