Microsoft DirectX 8.1 (C++)

AMTimelineSrc.SetStretchMode Method

The AMTimelineSrc.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