Web.Stencils.TWebStencilsProcessor.Content
Delphi
function Content: string; override;
C++
virtual System::UnicodeString __fastcall Content();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Web.Stencils.pas Web.Stencils.hpp |
Web.Stencils | TWebStencilsProcessor |
Description
Produces content from template specified by InputFileName.
When InputFileName is empty, then InputLines is used.
This method returns a string with the transformed HTML and can be used as the value of the Response.Content. However, you can directly connect a WebStencilsProcessor to the action, as it supports the standard IProduceContent Web content interface (the component inherits from TCustomContentProducer).