MapSize method

Resizes the current element.

Syntax


HRESULT retVal = object.MapSize(psizeIn, prcOut);

Parameters

psizeIn [in]

Type: SIZE

A pointer to a SIZE structure that specifies the size of the element.

prcOut [out]

Type: RECT

A 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.

 

 

Show: