JVCL Help:TJvID3Controller.FindNextFrame
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: TJvID3Controller.FindNextFrame Method
[+] TJvID3Controller Methods
[+] TJvID3Controller Properties
Search in JVCL Help
Search in all projectsSummary
Returns the next frame in the tag with a specific frame identifier.
Pascal
functionFindNextFrame(constAFrameID: TJvID3FrameID; varFrom: TJvID3Frame): Boolean;
Parameters
Parameters | Description |
const AFrameID: TJvID3FrameID | The frame identifier to search for. |
var From: TJvID3Frame | Specifies the frame after which to search for the frame identifier. FindNextFrame sets From to the next frame found or nil if no such frame was found. |
Return Value
Returns true when a frame was found, or false otherwise.
Description
Call FindNextFrame to search for the first frame found after the frame specified by From, with AFrameID as frame identifier in the tag.
Example, search for a picture frame with a specific picture type: function FindPictureType(const APictureType: TJvID3PictureType): TJvID3PictureFrame; var
Frame: TJvID3Frame;
begin
Result := nil;
ifnot JvID3v21.FindFirstFrame(fiPicture, Frame) then
Exit;
while (Frame isTJvID3PictureFrame) and
(TJvID3PictureFrame(Frame).PictureType <> AType) do
JvID3v21.FindNextFrame(fiPicture, Frame);
if Frame isTJvID3PictureFramethen
Result := TJvID3PictureFrame(Frame);
end;
See Also
TJvID3Controller.FindFirstFrame
About
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page