RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBasePageProducer.ContentFromStream Method

Returns the content produced in response to input read from a stream.

Pascal
function ContentFromStream(Stream: TStream): string; override;
C++
virtual __fastcall AnsiString ContentFromStream(TStream Stream);

Call ContentFromStream to retrieve the content produced by the content producer based on the information provided by the Stream parameter. 

When the ScriptEngine property is assigned, the page producer generates its content using a special script-producer component. When ScriptEngine is not assigned, the page producer uses only the OnHTMLTag event, plus any other built-in translations provided by a descendant class. 

 

Content 

ContentFromString 

Content 

ScriptEngine 

OnHTMLTag 

Specifying the HTML Template

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!