Apitron.PDF.Rasterizer library for .NET
Top
The EngineSettings type exposes the following members.
Properties
Name | Description | |
---|---|---|
CMYKColorProfile |
Gets or sets the CMYK ICC color profile.
| |
GlobalSettings |
Gets the global settings.
| |
LogWriter |
Gets or sets the log writer.
| |
MaxThreadsCount |
Gets or sets the maximum threads count to be used during processing PDF documents.
Valid values: 1 - 8.
| |
MemoryAllocationMode |
Gets or sets the memory allocation mode.
| |
ResourceSizeLimit |
Defines the resouce size limit in bytes that controls whether the resouce should be loaded to RAM or cached to disk. Valid only if the corressponding setting is set.
See MemoryAllocationMode property.
| |
SubstitutionFontMappings |
Gets the special font mappings.
To add your substition-set please use the following cunstruction: EngineSettings.FontSubstitutionMapping.Add("KozMinPro-Regular", new string[] { "Kozuka-Mincho-Pro-VI-R", "KozMinProVI-Regular", "MS Mincho", "MS Gothic" });
Where "KozMinPro-Regular" is pdf font name and the set is font names that will be used during font mapping.
| |
SystemFontPaths |
A read-only collection of system folders where the rendering engine tries to find font files by default,
e.g. for windows it will be %WINDOWS_FOLDER%\fonts.
If you wish to add custom font search path see UserFontPaths property.
| |
TraceLog |
Gets or sets a value indicating whether to trace log.
| |
UserFontMappings |
Gets a user font mappings dictionary, which can be used to map fonts used in document to a font with a particular name when font substitution happens.
These mappings are being evaluated in the order of addition when the engine needs to resolve the font.
Special font names are supported: "*" maps to all fonts.
| |
UserFontPaths |
An editable collection of user-defined folders where the pdf kit engine tries to find font files in addition to system folders.
If the application is opened in trusted mode the paths are expected to be file system based, otherwise they will be processed as isolated storage based paths.
An ArgumentException will be thrown as a result of attemp to add null or empty value.
|
See Also