Microsoft DirectX 9.0

AMTimelineSrc.SetStretchMode Method

The SetStretchMode method sets the stretch mode. The stretch mode determines how a video source is rendered if its size does not match the output dimensions.

Syntax

object.SetStretchMode(
    nStretchMode As Long
)

Parameters

nStretchMode

Flag indicating the current stretch mode. Must be one of the following values:

For more information, see Resize Flags.

Error Codes

If the method fails, an error is raised.

See Also