IHTMLExtractor Properties
Free Trial Web API version Licensing Request A Quote
HAVE QUESTIONS OR NEED HELP?SUBMIT THE SUPPORT REQUEST FORM or write email toSUPPORT@BYTESCOUT.COM
The IHTMLExtractor type exposes the following members.
Properties
Name | Description | |
---|---|---|
AddFontStyleHTMLTagsToText | Controls if HTML output adds font style information to text objects. Default is true. Set to false to output text objects as plain text objects without font size and style defined. | |
AdditionalCssStyles | Sets additional CSS styles. Works only with HTMLWithCSS (see ExtractionMode). Example: "#canvas { zoom: 50%; }" - scale the div that contains all generated HTML pages by 50%. | |
ColumnDetectionMode | Column detection mode. | |
ControlsAsText | Sets whether to render form controls to plain text objects. Default is false. Set to true to display controls as text. | |
DetectHyperLinks | Sets whether to detect URLs and present them as clickable links. Default is true. | |
DetectLinesInsteadOfParagraphs | Gets or sets a value indicating whether to detect single lines or multiple lines of text. | |
DetectNewColumnBySpacesRatio | Table columns detection option: defines space between columns to detect text as a new column. | |
DetectStrikeoutTextStyle | Get or sets whether to detect the "strikeout" text style. Default is false. | |
DetectUnderlineTextStyle | Get or sets whether to detect the "underline" text style. Default is false. | |
ExtractAnnotations | Gets or sets a value indicating whether to extract text from annotation objects. Default is true. | |
ExtractColumnByColumn | Gets or sets a value indicating whether to extract text column by column or use the visual layout of the text while extracting. False by default. If you are processing PDF newspapers with text columns, set this property to True so you get column by column instead of line by line. | |
ExtractInvisibleText | Gets or sets a value indicating whether to extract invisible text from PDF document. | |
ExtractionMode | Extraction mode: plain HTML or formatted HTML with CSS. | |
ExtractShadowLikeText | Gets or sets a value indicating whether to include characters used to create "shadow" effect (when the same character appears with some offset) from PDF document. True by default (includes all encoded characters disregarding their real appearance). | |
FontSubstitutionMap | Map to substitute fonts. You can add new mappings to match a font to another font in output HTML code. | |
HighPrecisionTextPositioning | Sets whether to use the high precision text positioning. Every symbol will be positioned individually providing better look but reduce HTML parsing convenience. | |
KeepOriginalFontNames | By default HTMLExtractor replaces names of embedded fonts with standard (or "descendant") fonts similar by metrics and typeface. This is because embedded fonts differ from fonts installed into your system or absent there at all. Set this property to true if you want to keep the original font names. | |
LineGroupingMode | Sets how lines are grouped into paragraphs. Default: no lines grouping is performed. | |
OptimizeImages | Gets or sets optimization of images. Default is true. | |
OutputImageFormat | Defines format for output images. Default is PNG (with transparency). If you do NOT need the transparency support and want to have smaller image sizes (so the page will load faster) then set this property to OutputImageFormat.JPEG. | |
OutputPageWidth | Set or get width (in pixels) of the output pages rendered into HTML. Default output width is 1024 (height is calculated and used according to the original pdf pages ratio) | |
PreserveFormattingOnTextExtraction | Gets or sets a value indicating whether to preserve the text formatting on the extraction. | |
RemoveHyphenation | Gets or sets a value indicating whether to automatically remove hyphenations in end of lines (works when Unwrap is true). | |
SaveImages | Get or sets the image handling (skip, embed, or save to outer file). | |
TrimSpaces | Gets or sets a value indicating whether to remove trailing and ending spaces from table cell values. | |
Unwrap | Gets or sets a value indicating whether to unwrap lines into single lines or not (especially could be useful in the column layout mode - see ExtractColumnByColumn property). Default is False. |
See Also