Home
   Home  |  Preliminary Docs  |  Design Diagrams  |  Reference  |  Development Docs  |  Download  |  Source Code  |  Final Reports  |
ISolpackPile::HeightWith Method

Retrieves the height the pile would have with a given number of cards.

Syntax:

HRESULT HeightWith(
   long lNumCards
   long *plHeight
);

Parameters:

lNumCards
The number of cards to test with.
plHeight
Address of a long integer variable that receives the height, in pixels.

Return Value:

Returns S_OK if successful, or an error value otherwise.

Remarks:

Use this method to retrieve dimensions to layout piles based on their size when filled to capacity.

The dimensions of a pile are dependant on the type of pile and how many cards it contains.

  February 24, 2002 jmhoersc@mtu.edu