Reflow Class |
Namespace: pdftron.PDF
public sealed class Reflow : IClosable
The Reflow type exposes the following members.
Name | Description | |
---|---|---|
Close | ||
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetAnnot |
Gets PDF annotation(s) as JSON.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetHtml |
Converts PDF to HTML.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
SetAnnot |
Updates PDF annotation.
| |
SetCustomStyles | ||
SetDoNotReflowTextOverImages |
Determines whether to not reflow text that appears over images. Default is false.
| |
SetFontOverrideName |
Overrides the font to use for reflowed content. If this property is empty, the default PDF font will be used. Default is no override.
| |
SetHideBackgroundImages |
Determines whether to hide background images. Default is false.
| |
SetHideImagesUnderInvisibleText |
Determines whether to hide images that are covered by invisible text (typically produced by OCR). Default is true.
This options works only if SetHideImagesUnderText() is set to false. If SetHideImagesUnderText() is set to true,
then images that are covered by any text, whether visible or not, will not be included in the output HTML.
If SetHideImagesUnderInvisibleText() is set to true while SetHideImagesUnderText() is set to false, then images
that are covered by invisible text will not be included in the output HTML. This can be useful when processing
scanned documents that are processed by OCR.
| |
SetHideImagesUnderText |
Determines whether to hide images that are covered by text. Default is false.
| |
SetHTMLOutputTextMarkup |
Determines whether to write text markup tags into the output HTML. Default is false.
| |
SetIncludeBBoxForRecognizedZones |
Determines whether to include bounding box information (of the original PDF) in the output HTML. Default is false.
The bounding box information will be stored using the attribute called "data-bbox" (value is written as "x1,y1,x2,y2", in PDF coordinates).
Note: This option is only available when pre-recognized zoning information is set through SetRecognizedZones().
| |
SetIncludeImages |
Determines whether to include images in the output HTML. Default is false.
| |
SetMessageWhenNoReflowContent |
Sets the error message in the output HTML when the page doesn't contain reflowable text. Use it for localization purposes. Default: "This page doesn't contain reflowable text".
| |
SetMessageWhenReflowFailed |
Sets the error message in the output HTML when reflow conversion fails. Use it for localization purposes. Default: "Could not reflow this page".
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |