Click or drag to resize

SautinSoft Namespace

Starting from 2002 we are developing .Net components to do all what you wish with documents in PDF, DOCX, RTF, HTML, Images and other formats.
Classes
 ClassDescription
Public classCode exampleExcelToPdf Main class to export Excel Excels in to PDF, Word. Allows to create an instance of converter object and call converting methods.
Public classExcelToPdfCOptions Set up the info block properties for resulting documents, such as file version and document producer
Public classExcelToPdfCOptionsFormula When processing formulas of the type - "CELL("filename", A1)" it is necessary to specify the path to the current file (stream) to ensure correct processing of the action. By default: Stream For example(File) : ExcelToPdf.ConvertFile(ExcelDocument, pdfFile); For example(Stream): ExcelToPdf.ConvertBytes(bytes);
Public classExcelToPdfCPageStyle Allows to specify page properties for output PDF document: page size, orientation, page margins and page numbers
Public classCode exampleExcelToPdfCPageStyleCPageMargin Allows to set page margins in mm and inches
Public classExcelToPdfCPageStyleCPageOrientation Allows to set page orientation for an output document. Not used if page size set as "Auto".
Public classCode exampleExcelToPdfCPageStyleCPageScale Allows to set scale produced document. Default option: FitByWidth.
Public classCode exampleExcelToPdfCPageStyleCPageSize Allows to set page size for output PDF document. Default option: Auto
Public classExcelToPdfCPageStylePageNumbers Allows to set page numbers and their properties in PDF.
Public classExcelToPdfCPageStyleSizes Class to set the component's options in inches, mm and pixels.
Public classExcelToPdfCSheet Class which allows to set custom sheets from workbook for converting
Public classCode exampleExcelToPdfCSheetPrintedArea Allows to specify which custom sheets and cells will be exported into PDF, Word
Public classCode exampleExcelToPdfCUnicodeOptions Class with properties which allows to specify Unicode options, such as "Fonts" directory etc
Public classExcelToPdfPdfSecurity Contains details for encrypting and access permissions for a PDF document, such as Password, Permissions etc.
Enumerations
 EnumerationDescription
Public enumerationExcelToPdfCOptionsePdfVersion Allows to specify PDF version
Public enumerationExcelToPdfCUnicodeOptionseUnicodeDetectFontsDirectory Allows to specify type of finding *.tff files. This is necessary to insert Unicode inside PDF.
Public enumerationCode exampleExcelToPdfeOutputFormat Enumerator with types of produced documents: PDF, DOCX, RTF
Public enumerationExcelToPdfPdfEncryptionAlgorithm Specifies the encryption algorithm to use for encrypting a PDF document.
Public enumerationExcelToPdfPdfPermissions Specifies the operations that are allowed to a user on an encrypted PDF document.