AttachStream method

<< Click to Display Table of Contents >>

Navigation:  Component Description > Methods >

AttachStream method

Declaration

function AttachStream(stream: TStream): Boolean;

Description

This command attacheds a PDF stream to the viewr. This means the viewer will display the PDF information. The provided stream object has to be valid until the editor is closed or cleared! It will be used for read access whenever the viewer needs new data, for example if it needs to load a page description or image data.