RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IWebContent.Content Method

Returns the HTML that the Web item generates.

Pascal
function Content(Options: TWebContentOptions; ParentLayout: TLayout): string;
C++
__fastcall AnsiString Content(TWebContentOptions Options, TLayout ParentLayout);

Call Content to access the HTML produced by the Web item. 

Options contains a set of flags that limit what can be included in the generated HTML. 

ParentLayout specifies a helper object that the caller supplies for determining how the Web item should lay out its constituent parts. This object supports the ILayoutWebContent interface, which the Web item uses to fit its own content into the parent's HTML structures. 

Content returns a string of HTML produced by the Web item. 

 

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