# OnhtStreamRequest Event

## Applies to

THtmlViewer component

## Declaration

property OnhtStreamRequest: TGetStreamEvent;

## Description

An OnhtStreamRequest event handler allows the program to respond with an HTML document in stream form whenever a new document is requested. Currently, this event is only used for linked stylesheet document requests.

See the TGetStreamEvent type for usage information.

See Also

LoadFromStream Method

LoadStrings Method

LoadFromBuffer Method