DISPREGIONPROPS

typedef struct tagDISPREGIONPROPS
{
   L_BOOL bCreateFromCenter;
   L_UINT uOperation;
} DISPREGIONPROPS, * pDISPREGIONPROPS;

The DISPREGIONPROPS structure contains options for controlling the region of interest feature.

Member

Description

bCreateFromCenter

Flag that indicates whether to create the region from the center as the user drags the mouse. Possible values are:

 

Value

Meaning

 

TRUE

Create from center.

 

FALSE

Create from edge. This is the default value.

uOperation

The action to apply on the existing bitmap region, if one is defined. For descriptions of the possible values, refer to Creating a Bitmap Region Inside the Image Viewer.

Comments

This structure contains information that controls the following actions:

CONTAINER_ACTION_REGION_RECTANGLE

CONTAINER_ACTION_REGION_ELLIPSE

CONTAINER_ACTION_REGION_CIRCLE

CONTAINER_ACTION_REGION_SQUARE