[Overview][Classes][Procedures and functions][Index] |
Constructor for the class instance.
Source position: html2textrender.pas line 57
public constructor THTML2TextRenderer.Create( |
const aHTML: string |
); |
const Stream: TStream |
); |
aHTML |
|
String with the HTML content examined in the class. |
Stream |
|
TStream instance with the HTML content examined in the class. |
Create is the overloaded constructor for the class instance. HTML content is passed as an argument to the method using either a String value or a TStream instance. The Stream-based variant reads the content in Stream into a String variable for processing. The position in the stream is not changed prior to or after reading its content.
Create stores the HTML content in aHTML to an internal member used when parsing and processing using methods in the class. A UTF-8 Byte Order Mark (BOM) at the start of the HTML content is removed prior to processing.
Create sets the default values for the following properties:
Version 4.0 | Generated 2025-05-03 | Home |