ISolpackApp::CardHeight Property
Retrieves the height of a card, in pixels.
Syntax:
HRESULT get_CardHeight(
long *p
);
Parameters:
- p
- 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:
The default Solitaire Pack card is 96 pixels high. Game objects should retrieve this value to determine what size card
Solitaire Pack is using, in order to determine pile layout.
If the user changes the card set to different-sized cards, Solpack will call the game's
ISolpackGame::RecalcLayout method.
|