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, GRE_LAYER *reflayer=0, UINT32 flags=MDISPCREATE_InsertAfter)
ERRVALUE SetDispParm (const DISPPARM &dispparm)
void SetLayout (const GRAPHICLAYOUT &grlayout)
virtual ~GRE_LAYER_LEGEND2 ()

Static Public Member Functions

int Construct (GRE_GROUP *group, GRE_LAYER **retlayer, GRE_LAYER *reflayer, UINT32 flags)
void RegisterType ()

Protected Attributes

DISPPARM m_dispparm

Constructor & Destructor Documentation

GRE_LAYER_LEGEND2::GRE_LAYER_LEGEND2 GRE_GROUP group,
GRE_LAYER reflayer = 0,
UINT32  flags = MDISPCREATE_InsertAfter
[explicit]
 

Construct layer and insert into list.

Parameters:
group  Group to contain layer
reflayer  Reference layer for insertion
flags  MDISPCREATE flags

virtual GRE_LAYER_LEGEND2::~GRE_LAYER_LEGEND2  )  [virtual]
 


Member Function Documentation

int GRE_LAYER_LEGEND2::Construct GRE_GROUP group,
GRE_LAYER **  retlayer,
GRE_LAYER reflayer,
UINT32  flags
[static]
 

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

Parameters:
group  Group to contain layer
retlayer  Layer returned
reflayer  Reference layer for insertion
flags  Creation flags

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

Retrieve layer-specific display parameters.

Definition at line 190 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]
 

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 214 of file lrlegnd2.h.


The documentation for this class was generated from the following file:
Generated on Tue Dec 14 13:19:50 2004 for TNTsdk by  doxygen 1.3.8-20040913