Click or drag to resize

Reflow Class

Reflow annotations between PDF and HTML
Inheritance Hierarchy
SystemObject
  pdftron.PDFReflow

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public sealed class Reflow : IClosable

The Reflow type exposes the following members.

Methods
  NameDescription
Public methodClose
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetAnnot
Gets PDF annotation(s) as JSON.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetHtml
Converts PDF to HTML.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSetAnnot
Updates PDF annotation.
Public methodSetCustomStyles
Public methodSetDoNotReflowTextOverImages
Determines whether to not reflow text that appears over images. Default is false.
Public methodSetFontOverrideName
Overrides the font to use for reflowed content. If this property is empty, the default PDF font will be used. Default is no override.
Public methodSetHideBackgroundImages
Determines whether to hide background images. Default is false.
Public methodSetHideImagesUnderInvisibleText
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.
Public methodSetHideImagesUnderText
Determines whether to hide images that are covered by text. Default is false.
Public methodSetHTMLOutputTextMarkup
Determines whether to write text markup tags into the output HTML. Default is false.
Public methodSetIncludeBBoxForRecognizedZones
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().
Public methodSetIncludeImages
Determines whether to include images in the output HTML. Default is false.
Public methodSetMessageWhenNoReflowContent
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".
Public methodSetMessageWhenReflowFailed
Sets the error message in the output HTML when reflow conversion fails. Use it for localization purposes. Default: "Could not reflow this page".
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also