GRE_LAYER_LEGEND2 Class Reference

#include <gre/lrlegnd2.h>

Inheritance diagram for GRE_LAYER_LEGEND2:

Inheritance graph
[legend]
List of all members.

Public Member Functions

const DISPPARMGetDispParm () const
double GetScaleFactor () const
 GRE_LAYER_LEGEND2 (GRE_GROUP *group, CREATEFLAGS createflags=CREATEFLAG_None, GRE::LISTPOS listpos=GRE::LISTPOS_Last, GRE_LAYER *reflayer=0)
ERRVALUE SetDispParm (const DISPPARM &dispparm)
void SetLayout (const GRAPHICLAYOUT &grlayout)
virtual ~GRE_LAYER_LEGEND2 ()

Static Public Member Functions

void RegisterType ()

Protected Attributes

DISPPARM m_dispparm

Constructor & Destructor Documentation

GRE_LAYER_LEGEND2::GRE_LAYER_LEGEND2 GRE_GROUP group,
CREATEFLAGS  createflags = CREATEFLAG_None,
GRE::LISTPOS  listpos = GRE::LISTPOS_Last,
GRE_LAYER reflayer = 0
[explicit]
 

Construct layer and insert into list.

Parameters:
group  Group to contain layer
createflags  Creation flags
listpos  Position in list
reflayer  Reference layer for insertion

virtual GRE_LAYER_LEGEND2::~GRE_LAYER_LEGEND2  )  [virtual]
 


Member Function Documentation

const DISPPARM& GRE_LAYER_LEGEND2::GetDispParm  )  const [inline]
 

Retrieve layer-specific display parameters.

Definition at line 195 of file lrlegnd2.h.

double GRE_LAYER_LEGEND2::GetScaleFactor  )  const
 

Return scale factor between legend's layout units and output "ground meters".

void GRE_LAYER_LEGEND2::RegisterType  )  [static]
 

Callback for the "Add Legend" menu of GRE_LAYER_LEGEND. Register this layer type.

ERRVALUE GRE_LAYER_LEGEND2::SetDispParm const DISPPARM dispparm  ) 
 

Set layer-specific display parameters.

This is the recommended method for changing how an existing layer is to be rendered. Validation will be performed on the specified parameters and adjustments made to the layer's copy if necessary. Use of this method usually result in a ChangeBegin / ChangeEnd message pair, and will also generate a ChangeObject message if the spatial object used in the layer is changed.

Parameters:
dispparm  Parameters to set

void GRE_LAYER_LEGEND2::SetLayout const GRAPHICLAYOUT grlayout  ) 
 


Member Data Documentation

DISPPARM GRE_LAYER_LEGEND2::m_dispparm [protected]
 

Layer-specific display parameters.

Definition at line 223 of file lrlegnd2.h.


The documentation for this class was generated from the following file:
Generated on Wed May 31 15:28:34 2006 for TNTsdk by  doxygen 1.3.8-20040913