ITargetFrame2::SetFrameMargins Method

Sets the margins of the frame.

Syntax


HRESULT SetFrameMargins(
    DWORD dwWidth,
    DWORD dwHeight
);

Parameters

dwWidth
[in] An unsigned long integer value that specifies the new margin width of the frame, in pixels.
dwHeight
[in] An unsigned long integer value that specifies the new margin height of the frame, in pixels.

Return Value

Returns S_OK if successful, or an error value otherwise.

Show: