Microsoft DirectX 9.0


The SetClipFactor method specifies the clip factor, which determines how much of the video the Full Screen Renderer is allowed to clip.

For example, suppose the display mode is 320 x 200 and the video is 352 x 288 pixels. Assuming the decoder cannot shrink the video, the display will clip about 25 percent of the image. The clip factor specifies the upper range that is permitted. The default value is 25%.


HRESULT SetClipFactor(
  long ClipFactor



[in] Specifies the maximum allowable amount of the image to clip. The value is expressed as a percentage from 0 to 100.

Return Values

Value Description
E_INVALIDARG Invalid argument.
S_OK Success.

See Also