DocSaveOptions Class |
Namespace: Aspose.Pdf
The DocSaveOptions type exposes the following members.
Name | Description | |
---|---|---|
![]() | DocSaveOptions | Initializes a new instance of the DocSaveOptions class |
Name | Description | |
---|---|---|
![]() | AddReturnToLineEnd |
Use paragraph or line breaks
|
![]() | BatchSize |
Defines batch size if batched conversion is applicable
to source and destination formats pair.
|
![]() | CloseResponse |
Gets or sets boolean value which indicates will Response object be closed after document saved into response.
(Inherited from SaveOptions.) |
![]() | ExtractOcrSublayerOnly |
This atrribute turned on functionality for extracting image or text
for PDF documents with OCR sublayer.
(Inherited from UnifiedSaveOptions.) |
![]() | Format |
Output format
|
![]() | ImageResolutionX |
Converted images X resolution.
|
![]() | ImageResolutionY |
Converted images Y resolution.
|
![]() | MaxDistanceBetweenTextLines | |
![]() | Mode |
Recognition mode.
|
![]() | RecognizeBullets |
Switch on the recognition of bullets
|
![]() | RelativeHorizontalProximity |
In Pdf words may be innerly represented with operators that prints words
by independently printing their letters or syllables. So, to detect words sometimes we need detect groups
of independent chars that are in fact words.
This setting defines width of space between text elements(letters, syllables)
that must be treated as distance between words during recognition of words in source PDF.
(presence of empty space at least with this width between letters means that
textual elements pertain to different words).
It's normed to font size - 1.0 means 100% of supposed word's font size.
ATTENTION!It's used only in cases when source PDF contains specific rarely used fonts
for which optimal value cannot be calculated from font.
So, in vast majority of cases this parameter changes nothing in result document.
|
![]() | SaveFormat |
Format of data save.
(Inherited from SaveOptions.) |
![]() | WarningHandler |
Callback to handle any warnings generated.
The WarningHandler returns ReturnAction enum item specifying either Continue or Abort.
Continue is the default action and the Save operation continues, however the user may also return Abort in which case the Save operation should cease.
(Inherited from SaveOptions.) |
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() ![]() | CustomProgressHandler |
This handler can be used to handle conversion progress events
f.e. it can be used to show progress bar or messages about current amount
of processed pages, example of handler's code that shows progress on console is :
|
![]() | TryMergeAdjacentSameBackgroundImages |
Sometimes PDFs contain background images (of pages or table cells)
constructed from several same tiling background images put one near other.
In such case renderers of target formats (f.e MsWord for DOCS format) sometimes generates
visible boundaries beetween parts of background images,
cause their techniques of image edge smoothing (anti-aliasing) is different from Acrobat Reader.
If it looks like exported document contains such visible boundaries between
parts of same background images, please try use this setting to get rid
of that unwanted effect.
ATTENTION! This optimization of quality usually essentially slows down conversion,
so, please, use this option only when it's really necessary.
(Inherited from UnifiedSaveOptions.) |