MapSize method
Resizes the current element.
Syntax
HRESULT retVal = object.MapSize(psizeIn, prcOut);
Parameters
psizeIn [in]
Type: SIZEA pointer to a SIZE structure that specifies the size of the element.
prcOut [out]
Type: RECTA pointer to a RECT structure that gets the rectangle that contains the resized element.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.