Frame functions


The following frames-related functions are available in EmbeddedWB:

function FrameCount: Integer;
Returns the number of frames in the document;

GetFrame(FrameNo : Integer) : IWebbrowser2;
Returns Iwebbrowser2-interface to the specified frame. You can use it to print a particular frame, view frame-source etc.

For loading and saving content of frames the following functions are available:


SaveFrameToStream(FrameNo : Integer; AStream: TSTream);
SaveFrameToStrings(FrameNo : Integer; AStrings : TStrings);
SaveFrameToFile(FrameNo : Integer; FName : String);

LoadFrameFromStream (FrameNo : Integer; AStream : TStream);
LoadFrameFromStrings (FrameNo : Integer; AStrings : TStrings);