📄 manual.htm
字号:
<font class="procwd">EntryCount</font><font class="proc">: Integer;<br>
</font>
Retrieves the number of entries contained in the current Windows Media metafile.</p>
<p><font class="proc">property
</font>
<font class="procwd">ErrorCode</font><font class="proc">: integer;<br>
</font>
Retrieves the current error code.</p>
<p><font class="proc">property
</font>
<font class="procwd">ErrorCorrection</font><font class="proc">: WideString;<br>
</font>
Retrieves the error correction type of the current clip.</p>
<p><font class="proc">property
</font>
<font class="procwd">ErrorDescription</font><font class="proc">: WideString;<br>
</font>
Retrieves a description of the current error state.</p>
<p>
<font class="proc">
property
</font>
<a name="FrameCount"><font class="procwd">FrameCount</font></a><font class="proc">: LongWord;<br>
</font>
Retrieves the number of frames of the clip. The frame count can be
unavailable (e.g.: not returned by asf files). In this case, FrameCount returns
0.</p>
<p>
<font class="proc">
property
</font>
<a name="FramePosition"><font class="procwd">FramePosition</font></a><font class="proc">: LongWord;<br>
</font>
Retrieves current frame position of the clip. The frame position can be
unavailable (e.g.: not returned by asf files). In this case, FramePosition
returns 0.</p>
<p>
<font class="proc">
property
</font>
<font class="procwd">HasError</font><font class="proc">: WordBool;<br>
</font>
Retrieves a value indicating whether the Windows Media Player control
currently has an error.</p>
<p><font class="proc">property
</font>
<font class="procwd">HasMultipleItems</font><font class="proc">: WordBool;<br>
</font>
Retrieves a value indicating whether the current clip contains multiple
items (play lists).</p>
<p><font class="proc">property
</font>
<a name="ImageSourceHeight"><font class="procwd">ImageSourceHeight</font></a><font class="proc">: integer;<br>
</font>
Retrieves the original image height of the current clip, in pixels.</p>
<p><font class="proc">property
</font>
<a name="ImageSourceWidth"><font class="procwd">ImageSourceWidth</font></a><font class="proc">: Integer;<br>
</font>
Retrieves the original image width of the current clip, in pixels.</p>
</font>
<p><font class="proc">property </font><font class="procwd">InitStatus</font><font class="proc">:
TInitStatus;<br>
</font><font class="bd">Reports the initialization status of the component.<br>
TInitStatus </font><font class="body"><font class="bd">= (init_Success,
init_Media_Video_9_VCM_missing, init_Media_Player_Not_Found,
init_WMPDXM_DLL_not_registered);</font></p>
<p><font class="proc">property
</font>
<font class="procwd">IsBroadcast</font><font class="proc">: WordBool;<br>
</font>
Retrieves a value indicating whether the source is broadcast.</p>
<p><font class="proc">property
</font>
</font>
<a name="IsDirectX8Installed"><font class="procwd">IsDirectX8Installed</font></a><font class="body">
<font class="proc">
: WordBool;<br>
</font>
The frame grabber requires DirectX8 to work. This property detects if
DirectX8 or higher is installed on the current platform.
</p>
<p><font class="proc">property
</font>
<a name="IsDurationValid"><font class="procwd">IsDurationValid</font></a><font class="proc">:
WordBool;<br>
</font>
Retrieves a value indicating whether the value of the Duration
property is valid.</p>
<p><font class="proc">property
</font>
<font class="procwd">LostPackets</font><font class="proc">: integer;<br>
</font>
Retrieves the number of packets lost during transmission of the stream.</p>
<p><font class="proc">property
</font>
<font class="procwd">MarkerCount</font><font class="proc">: Integer;<br>
</font>
Retrieves the number of markers in the current clip.</p>
<p><font class="proc">property
</font>
<a name="OpenState"><font class="procwd">OpenState</font></a><font class="proc">:
integer;<br>
</font>
Retrieves the state of the content source. The possible returned values are:<br>
<font class="code">nsClosed</font>: content file is closed,<br>
<font class="code">nsLoadingASX</font>: loading a Windows Media metafile,<br>
<font class="code">nsLoadingNSC</font>: loading an .nsc station file,<br>
<font class="code">nsLocating</font>: locating the server,<br>
<font class="code">nsConnecting</font>: connecting to the server,<br>
<font class="code">nsOpening</font>: opening or listening for the stream,<br>
<font class="code">nsOpen</font>: content file is open.<br>
</p>
<p><font class="proc">property
</font>
<a name="PlayState"><font class="procwd">PlayState</font></a><font class="proc">:
integer;<br>
</font>
Retrieves a value indicating the state of the Windows Media Player
operation.<br>
The possible values are:<br>
<font class="code">
mpStopped<br>
mpPaused<br>
mpPlaying<br>
mpWaiting<br>
mpScanForward<br>
mpScanReverse<br>
mpClosed</font></p>
<p><font class="proc">property
</font>
<a name="ReadyState"><font class="procwd">ReadyState</font></a><font class="proc">:
integer;<br>
</font>
Retrieves the state of readiness of the Windows Media Player control.<br>
The possible values are:<br>
<font class="code">
amvUninitialized<br>
amvLoading<br>
amvInteractive<br>
amvComplete</font>
</p>
<p><font class="proc">property
</font>
<font class="procwd">ReceivedPackets</font><font class="proc">:
integer;<br>
</font>
Retrieves the number of packets received.</p>
<p><font class="proc">property
</font>
<font class="procwd">ReceptionQuality</font><font class="proc">: integer;<br>
</font>
Retrieves the percentage of packets received in the last 30 seconds.</p>
<p><font class="proc">property
</font>
<font class="procwd">RecoveredPackets</font><font class="proc">: integer;<br>
</font>
Retrieves the number of packets recovered.</p>
<p><font class="proc">property
</font>
<font class="procwd">SourceLink</font><font class="proc">: WideString;<br>
</font>
Retrieves the path to the current clip.</p>
<p><font class="proc">property
</font>
<font class="procwd">SourceProtocol</font><font class="proc">: integer;<br>
</font>
Retrieves a value indicating the protocol used to receive data.</p>
<p><font class="proc">property
</font>
<font class="procwd">StreamCount</font><font class="proc">: Integer;<br>
</font>
Retrieves the number of media streams in the current clip.</p>
<p><font class="proc">property
</font>
<a name="TimePosition"><font class="procwd">TimePosition</font></a><font class="proc">: Double;<br>
</font>
Retrieves the current position of the clip, in seconds.</p>
<p><font class="proc">property
</font>
<a name="TotalTime"><font class="procwd">TotalTime</font></a><font class="proc">: double;<br>
</font>
Retrieves the length of the clip, in seconds.</p>
<p><font class="proc">property
</font>
<a name="TotalTime"><font class="procwd">TrackingInterval</font></a><font class="proc">:
Integer;<br>
</font>
Retrieves or set the interval between 2 time/frame positions calculations
and <a href="#OnPositionChange">OnPositionChangeEvents</a> if the current
position changed. The default value is 50 ms. This value is critical. Be careful
when changing it. </p><br><br>
<p class="t1"><a name="Published properties">
Published
properties</a></p>
<p>
<font class="proc">
property
</font>
<a name="AllowScan"><font class="procwd">AllowScan</font></a><font class="proc">: WordBool;<br>
</font>
Specifies or retrieves a value indicating whether scanning is enabled for
files that support scanning (fast-forwarding and rewinding).</p>
<p><font class="proc">property
</font>
<font class="procwd">AnimationAtStart</font><font class="proc">: WordBool;<br>
</font>
Specifies or retrieves a value indicating whether animation runs before the
first image is displayed.</p>
<p><font class="proc">property
</font>
<font class="procwd">AudioStream</font><font class="proc">: Integer;<br>
</font>
Specifies or retrieves the stream number of the current audio stream.</p>
<p><font class="proc">property
</font>
<a name="AutoFileName"><font class="procwd">AutoFileName</font></a><font class="proc">:
<a href="#TAuto_Filename">TAuto_Filename</a>;<br>
</font>
<font class="code">fnSequential</font>: the file name is based on a
sequential number, starting from 000001.<br>
<font class="code">fnDateTime</font>: the file name is based on a date/time format, like yymmdd_hhmmss_zzz (zzz =
milliseconds).</p>
<p >you can choose to force the file name of BMP and JPEG files created by the frame
capture by specifying a file name when calling the <a href="#FGrabber_CaptureFrameTo">
FGrabber_CaptureFrameTo</a> procedure. If the file name is left blank in FGrabber_CaptureFrameTo,
a BMP or JPEG file name is generated automatically and returned by the
<a href="#OnFGrabberCaptureCompleted">OnFGrabberCaptureCompleted</a> event.</p>
<p><font class="proc">property
</font>
<a name="AutoFilePrefix"><font class="procwd">AutoFilePrefix</font></a><font class="proc">:
string<br>
</font>
Sets or retrieves a prefix string placed at the beginning of a capture file name
generated automatically. Especially used to distinguish different
serials of files when AutoFileName is set to fnSequential (e.g. when several
TActiveMovie components are used in the same app and you want to generate
separated serials of files for each component).</p>
<p><font class="proc">property
</font>
<font class="procwd">AutoRewind</font><font class="proc">: WordBool;<br>
</font>
Specifies or retrieves a value indicating whether the Windows Media Player
control automatically returns to the clip's starting point after the clip
finishes playing or has otherwise stopped.</p>
<p><font class="proc">property
</font>
<a name="AutoStart"><font class="procwd">AutoStart</font></a><font class="proc">: WordBool;<br>
</font>
Specifies or retrieves a value indicating whether to start playing the clip
automatically.</p>
<p><font class="proc">property
</font>
<font class="procwd">Balance</font><font class="proc">: integer;<br>
</font>
Specifies or retrieves a value indicating the stereo balance.</p>
<p><font class="proc">property
</font>
<font class="procwd">BaseURL</font><font class="proc">: WideString;<br>
</font>
Retrieves a value indicating the base URL.</p>
<p><font class="proc">property
</font>
<font class="procwd">CaptioningID</font><font class="proc">: WideString;<br>
</font>
Retrieves the name of the frame or control that displays captioning.<br>
off.</p>
<p><font class="proc">property
</font>
<a name="CaptureSize"><font class="procwd">CaptureSize</font></a><font class="proc">:
integer;<br>
</font>
The size of the captured frame in percentage of the source size (default =
100). Applies to <a href="#CaptureFrameToBmpFile">CaptureFrameToBmpFile</a>, <a href="#CaptureFrameToJPEGFile">CaptureToJPEGFile</a>,
<a href="#CaptureFrameToImage">CaptureFrameToImage</a>, <a href="#CaptureFrameToBitMap">CaptureFrameToBitmap</a>
and <a href="#FGrabber_CaptureFrameTo">FGrabber_CaptureFrameTo</a>.</p>
<p><font class="proc">property
</font>
<a name="ClickToPlay"><font class="procwd">ClickToPlay</font></a><font class="proc">: WordBool;<br>
</font>
Specifies or retrieves a value indicating whether the user can toggle
playback on and off by clicking the video image.</p>
<p><font class="proc">property
</font>
<a name="Color"><font class="procwd">Color</font></a><font class="proc">: TColor;<br>
</font>
Specifies or retrieves a value indicating the color of the background when <a href="#ShowControls">ShowControls</a>
is disabled.</p>
<p>
<font class="proc">
property
</font>
<font class="procwd">CursorType</font><font class="proc">:
Integer;<br>
</font>
Specifies or retrieves the cursor type.</p>
<p>
<font class="proc">
property
</font>
<font class="procwd">DefaultFrame</font><font class="proc">: WideString;<br>
</font>
Specifies or retrieves a value representing the default target HTTP frame.</p>
<p><font class="proc">property
</font>
<a name="DisplayLogo"><font class="procwd">DisplayLogo</font></a><font class="proc">: WordBool;<br>
</font>
Specifies or retrieves whether the Window Media logo is displayed when there
is no clip opened.</p>
<p><font class="proc">property
</font>
<a name="DisplayMode"><font class="procwd">DisplayMode</font></a><font class="proc">:
<a href="#TDisplayMode">TDisplayMode</a>;<br>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -