Share via


Player6.AllowScan (deprecated)

Windows Media Player SDK banner art

This page documents a feature of the Windows Media Player 6.4 ActiveX control. We recommend that you migrate your content to use the Windows Media Player 9 Series ActiveX control. For more information about the Windows Media Player 9 Series ActiveX control, see the Windows Media Player 9 Series SDK.

This property specifies or retrieves a value indicating whether scanning is enabled for files that support scanning (fast-forwarding and rewinding).

Syntax

MediaPlayer.AllowScan

Possible Values

This property is a read/write Boolean containing one of the following values.

Value Description
true Default. Scanning is enabled.
false Scanning is disabled

Remarks

This property determines whether the FastForward and FastReverse methods are enabled. In addition, if this property is true, the end user can scan forward or back through a clip by clicking Scan Forward or Scan Rewind on the shortcut menu. While scanning, the position on the trackbar control moves rapidly forward or backward. To stop scanning, click the play button, stop button, or pause button. Setting this property to false also disables the fast forward and fast reverse buttons on the Media Player control window.

Note   Only certain types of files can be scanned, regardless of the value of AllowScan. The CanScan property returns a Boolean value indicating whether the file can be scanned.

Requirements

Version: Windows Media Player version 6.4.

Library: Use msdxm.ocx.

Platform: Windows 98 Second Edition or higher.

See Also