Begins a random sampled zoom-in operation.
Syntax
ESSG_FUNC_M EssGBeginSamplingZoomIn (hGrid, usCells, pZoomCells, ulSamplingPercentage, ulOptions);
Parameter | Data Type | Description |
---|---|---|
hGrid | ESSG_HGRID_T | Handle passed back from EssGNewGrid. |
usCells | ESSG_USHORT_T | A count of the number of cell ranges in pZoomCells (the size of array). |
pZoomCells | ESSG_RANGE_T | Describes the cells to be zoomed in upon. This is a one-dimensional array of cell ranges. |
ulSamplingPercentage | ESSG_ULONG_T | The percentage sampling rate. This number is an integer between 1 and 100, inclusive. A depth of 100 percent will retrieve all members of the dimension. This effectively turns sampling off and retrieves all members. A ulSamplingPercentage of 50 will retrieve half the members. |
ulOptions | ESSG_ULONG_T | A bitmask which describes the type of zoom-in (across or down) and the level of the zoom. The following two values are mutually exclusive:
The following level values for ulOptions are themselves mutually exclusive:
Use bitwise OR (|) to specify the ulOptions; for example, ESSG_ZOOM_DOWN | ESSG_NEXTLEVEL |
Notes
The cells to be zoomed in upon are described by a one-dimensional array of cell ranges.
This function differs from the standard grid Zoom-In function, EssGBeginZoomIn(). This function has an argument that sets the sampling depth in terms of a percentage. A depth of 100 percent will retrieve all members of the dimension and a depth of 50 percent will retrieve half the members. This function is especially useful for zooming in on large or very dense dimensions.
Return Value
If successful, returns ESSG_STS_NOERR.
Access
None.
See Also