Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This property specifies whether scanning is enabled for files that support scanning (fast-forwarding and rewinding). This property is read/write.

Compatibility:Windows Media Player

Syntax

MediaPlayer.AllowScan [ = 
bAllowScan ]

Parameters

bAllowScan

Boolean value specifying whether scanning is enabled. If true, scanning is enabled. The default value is true.

Remarks

This property determines whether the FastForwardand FastReversemethods are enabled. In addition, if this property is true, the user can scan forward or back through a clip by clicking Scan Forwardor Scan Rewindon 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.

Only certain types of files can be scanned, regardless of the value of AllowScan. The CanScanproperty returns a Booleanvalue specifying whether the file can be scanned.

Requirements

Windows Embedded CE Windows CE 3.0 and later

See Also