Some aspects of ABCpdf can be controlled on a global level using
registry keys.
In general you will not need to use these and you should take the
relevant precautions if you decide to insert them.
| Name |
Type |
Default |
Overridable |
Description |
| TempDirectory |
STRING |
"" |
|
ABCpdf uses the temp directory.
You can override the location it uses by setting this value.
|
| V3Compatible |
DWORD |
0 [false] |
|
By setting this value to 1 you can ensure full compatibility
with ABCpdf version 3 layout algorithms.
|
| V4Compatible |
DWORD |
0 [false] |
|
By setting this value to 1 you can ensure full compatibility
with ABCpdf version 4 layout algorithms.
|
| V5Compatible |
DWORD |
0 [false] |
|
By setting this value to 1 you can ensure full compatibility
with ABCpdf version 5 layout algorithms.
|
| DisableCCITT |
DWORD |
0 [false] |
|
ABCpdf compresses black and white images using CCITT compression.
You can disable this type of compression if you wish to produce
simple flate compressed images.
|
| InsertJPEGsDirect |
DWORD |
1 [true] |
 |
When you insert JPEGs using the Image object they bypass
the normal rendering process and are inserted direct. This
can result in a considerable reduction in file size without
any loss of visual quality.
However the final output may vary slightly from that produced
by older versions of ABCpdf.
By setting this value to 0 you can ensure compatibility.
|
| RenderDelay |
DWORD |
0 |
 |
HTML rendering sometimes requires two stages - an information
gathering stage and a render stage.
For backwards compatibility reasons you can insert a delay
between these two stages. This value is measured in milliseconds.
|
| AutoDeleteHTML |
DWORD |
1 [true] |
|
Certain HTML temp files are automatically deleted by ABCpdf
after use.
You are unlikely to want to change the value of this key.
|
| LogErrors |
DWORD |
0 [false] |
|
Determines whether errors will be logged in the Application
Event Log.
|
| AutoRecover |
DWORD |
0 [false] |
|
Whether ABCpdf should automatically attempt to recover from
serious errors.
This is generally set to false. Recovery may work in some
situations but in others it will leave the application in
an inconsistent state.
|
| LogOperations |
DWORD |
0 [false] |
|
Unused in release versions. |
| MaxOperationTime |
DWORD |
1000 |
|
Unused in release versions. |
| LogDirectory |
STRING |
"%SYSTEMROOT% \\Temp\\" |
|
Unused in release versions. |
| LogMaxFileSize |
DWORD |
0xFFFF |
|
Unused in release versions. |
| LogAsserts |
DWORD |
1 [true] |
|
If true certain run-time consistency checks will be enabled.
If any consistency check fails then an error will be logged
in the Application Event Log.
|
| LogAssertsMax |
DWORD |
5 |
|
The maximum number of times an assertion
will log an error. This is kept at a small number to avoid excessive
use of the Application Event Log. |
| ClearoutSize |
DWORD |
1000 |
|
On startup the ABCpdf temp directory is checked. If it appears
that there are a large number of unused items then the directory
will be cleared.
This setting determines the maximum number of items which
are permitted in the directory before a clearout is deemed
necessary.
|
| OneStageRender |
DWORD |
1 [true] |
 |
This property is included for backwards compatibility reasons.
|
| LoadType1Fonts |
DWORD |
1 [true] |
|
Whether ABCpdf should allow the use
of Type 1 fonts. |
| WriteVersionNumber |
DWORD |
1 [true] |
|
Whether the ABCpdf version should
be embedded in the PDF output. |
| SetInfoProps |
DWORD |
1 [true] |
|
Whether registry keys can be overridden on a per-document
basis.
To override a registry key use SetInfo passing zero as the
ID and, using the name of the key. For example:
theDoc.SetInfo(0, "UseScript", "1")
Note that only keys marked as overridable can be overridden
this way.
|
| CheckSaveRestore |
DWORD |
1 [true] |
 |
Some PDFs do not conform to Adobe document structuring conventions.
For details see section 4.3.1 of the Adobe
PDF Specification.
Conforming documents should save the graphics state at the
start of drawing and restore the graphics state after drawing
is complete. This way it is guaranteed that drawing operations
are independent of each other.
Non-conforming documents may make transform and other graphics
state changes which cannot easily be undone. When you add
your content it is affected by these leftover state changes.
This key determines whether ABCpdf will automatically detect
and fix non-conforming documents.
|
| AnnotBorder |
DWORD |
0 |
 |
The default width of borders on Annotations added to PDF
documents.
This property is only accessible using the SetInfo method.
The default cannot be overridden using a registry key.
|
| LargeDocumentSize |
DWORD |
10,000 |
 |
The size at which a binary search tree is constructed for
HTML rendering.
For larger documents a binary search tree is a much more
efficient structure for HTML rendering than is a linear search
tree.
For smaller documents the time taken to build the tree can
outweigh the speed advantages. So a linear search tree is
better.
This property determines the point at which ABCpdf shifts
its strategy from linear to binary searches.
|
| DisableFilters |
DWORD |
1 |
 |
Whether to automatically disable HTML filters.
HTML filters can interfere with the HTML to PDF conversion
process because they are raster rather than vector based.
For this reason we try to disable them.
This property is only accessible using the SetInfo method.
The default cannot be overridden using a registry key.
|
| JPEGThreshold |
DWORD |
256 |
 |
The threshold at which images are JPEG compressed.
When an uncompressed image is added to a document ABCpdf
may decide whether to use JPEG (lossy) compression or lossless
compression based on an analysis of the image.
ABCpdf counts the number of colors used in the image and
if the number is greater than a certain threshold ABCpdf assumes
that the image is continuous tone and thus eligible for JPEG
compression.
This property is only accessible using the SetInfo method.
The default cannot be overridden using a registry key.
|
| UnloadInterval |
DWORD |
0 |
 |
Whether we allow MSHTML to be unloaded when the screen depth
changes.
Appropriate values are 0 (MSHTML is never unloaded) and 10
(it is unloaded a little while after the screen properties
change).
The number actually refers to the number of calls that ABCpdf
makes (once a monitor change has occurred) without keeping
MSHTML force loaded. We assume that at some point during this
period that Windows will unload the DLL.
This property is only accessible using the SetInfo method.
The default cannot be overridden using a registry key.
|