A central point of for configuring FlexCel parameters.
public static class FlexCelConfig
|DpiForImages||Allows you to change the dpi for vector images (metafiles) when they are rasterized for converting to pdf / HTML / etc. Note that this is a static setting and will affect all files. This setting is the same as TExcelFile.DpiForImages|
|DpiForReadingImages||Allows you to set a DPI for all images FlexCel is importing. If this value is 0 (the default), then FlexCel will try to read the image resolution from the files themselves, if the files have a resolution saved. If there is no resolution saved with the image, FlexCel will assume the images have the screen resolution. When you set this property to a non 0 value (like 96 for example), then FlexCel will assume this is the resolution of the images it is reading, ignoring any resolution stored in the file.
|XlsxCompressionLevel||Zip compression level when creating xlsx files. This setting is the same as TExcelFile.XlsxCompressionLevel.
Xlsx files are zip files, and you can compress more or less by trading speed for file size. The faster you can create the file, the bigger the xlsx files created will be.
Excel by default uses "Fastest" compression level and we use "Default". Normally using compression levels more than default is not worth it, since the files will take a lot longer to be created, and the size reduction will be very small.
|PdfPngCompressionLevel||Zip compression level when creating pdf files or re encoding png images.
Pds and Png files are zip files, and you can compress more or less by trading speed for file size. The faster you can create the file, the bigger the pdf and png files created will be.
Normally using compression levels more than default is not worth it, since the files will take a lot longer to be created, and the size reduction will be very small.
|GraphicFramework||Defines the graphics framework that FlexCel will use. This property currently only works in .NET core or .NET 5 and in Windows.
|ForcePdfFontsFromDisk||If true, FlexCel will always try to load the fonts for rendering PDF Files from the disk.
This allows you to use events like GetFontFolder or GetFontData to tell FlexCel where the fonts are.
If this property is set to false (the default), then FlexCel will get the font definition directly from the Graphics engine, if the Graphics engine has a primitive to get the font data. SKIA and CoreGraphics are 2 libraries that support getting the fonts directly.
|MaxFontsToCache||Maximum number of fonts that can be cached in memory.
|MaxLambdaRecursion||Maximum number of times that a name including a lambda function can refer to itself.