Returns or sets a Boolean value specifying whether or not scanning is enabled for files that support scanning (fast forwarding and rewinding).
Syntax
MediaPlayer.AllowScan
Settings
The AllowScan property can have the following values:
Value | Description |
True | (Default) Enables file scanning. |
False | Disables file scanning. |
Remarks
This property determines whether or not the FastForward and FastReverse methods are enabled. In addition, if this property is True, the end-user can scan forward or back through a title by clicking Scan Forward or Scan Rewind on the context menu. While scanning, the position on the trackbar moves rapidly forward or backward. To stop scanning, click Play, Stop, or Pause.
If AllowScan is set to False, the user cannot fast forward or rewind through a file. Scanning requires more CPU usage than normal playback.
Note: Only certain types of files can be scanned, regardless of the value of AllowScan. The CanScan property returns a Boolean value specifying whether or not the file is scannable.
See Also
© 1996-1998 Microsoft Corporation. All rights reserved.