Windows Media Player Control SDK Banner Art
*Contents *Index  *Topic Contents
*Previous Topic: AllowChangeDisplaySize
*Next Topic: AnglesAvailable

AllowScan Property

Sets or retrieves a value specifying whether scanning is enabled for files that support scanning (fast-forwarding and rewinding).

Syntax

MediaPlayer.AllowScan [ = bAllowScan ]

Possible Values

bAllowScan Boolean value specifying whether scanning is enabled. If true, scanning is enabled.

This property is read/write with a default value of true.

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 specifying whether the file can be scanned.

See Also

CanScan, Playback Methods and Properties


Top of Page Top of Page
© 1999 Microsoft and/or its suppliers. All rights reserved. Terms of Use.