This class is used internally by SolidFramework. It should not be used directly.
More...
This class is used internally by SolidFramework. It should not be used directly.
◆ AddSourceFile() [1/2]
Add a PDF file to be converted to the source collection from a loaded Document object.
- Parameters
-
| document | Document object loaded with a PDF file. |
- Exceptions
-
| System.ArgumentNullException | Thrown when Document object is null. |
Reimplemented from SolidFramework.Converters.Converter.
◆ AddSourceFile() [2/2]
| override void SolidFramework.Converters.SolidConverterPdf.AddSourceFile |
( |
string |
fullpath | ) |
|
|
virtual |
Add a PDF file to be converted to the source collection.
- Parameters
-
| fullpath | String of the full path to the PDF file. |
- Exceptions
-
| System.IO.FileNotFoundException | Thrown when path is invalid. |
Reimplemented from SolidFramework.Converters.Converter.
◆ AddSourceFiles()
Add a collection of PDF file paths to be converted to the source collection.
- Parameters
-
| paths | ReadOnlyCollection(String) collection of PDF source file paths. |
◆ Convert()
| override void SolidFramework.Converters.SolidConverterPdf.Convert |
( |
| ) |
|
|
virtual |
◆ ConvertTo() [1/2]
Converts single file to specified path
- Parameters
-
- Returns
◆ ConvertTo() [2/2]
◆ Dispose()
| override void SolidFramework.Converters.SolidConverterPdf.Dispose |
( |
| ) |
|
|
virtual |
◆ GraphicsAsImages
| bool SolidFramework.Converters.SolidConverterPdf.GraphicsAsImages |
|
getset |
Gets or sets whether vector images should be converted to bitmap images. Default is false.
If true then vector images will be converted to bitmap images; otherwise they will be retained as vector images.
◆ ImageWatermark
Gets or sets an image as a watermark in the converted file
A watermark is an impression that displays on top of or below the content of a PDF page. Image watermarks can be useful for placing a logo on each page. To set an ImageWatermark, assign the path to the Image, ImageWatermark.Path = "C:\\MyDocuments\\MyWatermark.jpg"; Alternatively watermarks can be text. TextWatermark watermark = new TextWatermark(); watermark.Text = "DRAFT";
◆ KeepBackgroundColorText
| bool SolidFramework.Converters.SolidConverterPdf.KeepBackgroundColorText |
|
getset |
Gets or sets whether text that is invisible because it is the same colour as the background should be recovered. Default is false.
If true then text that is the same colour as the background will be recovered, else it will be discarded.
◆ KeepInvisibleText
| bool SolidFramework.Converters.SolidConverterPdf.KeepInvisibleText |
|
getset |
Gets or sets whether text that is invisible because it has no stroke or fill (PDF rendering mode 3 is typically used for a searchable layer in scanned pages) should be recovered. Default is false.
If true then invisible text that has no stroke or fill will be recovered, else it will be discarded.
◆ OutputDirectory
| string SolidFramework.Converters.Converter.OutputDirectory |
|
getsetinherited |
Gets or sets the directory where converted files will be placed when created using Convert.
The output directory.
◆ OverwriteMode
Get whether to overwrite an existing output file.
Set the desired action when the output file already exists. Default is FailIfExists.
◆ PageRange
Gets the page range.
The page range.
◆ Password
| string SolidFramework.Converters.SolidConverterPdf.Password |
|
getset |
Gets the password.
The password.
◆ SourceDirectory
| string SolidFramework.Converters.Converter.SourceDirectory |
|
getsetinherited |
Gets the source directory.
The source directory.
◆ Progress
Triggered when progress occurs during PDF conversion.
ProgressEventArgs contains the amount of progress, the maximum amount of progress, a status code, a description, plus optional custom data.