The main class to convert between DOC, DOCX, XLS, XLSX, PPT, PPTX, ACCDB, CSV, RTF, Text, HTML and PDF documents with tables, images, fonts, colors, Unicode text etc.

Namespace:  SautinSoft
Assembly:  UseOffice (in UseOffice.dll) Version: 4.3.12.15

Syntax

      
 C#  Visual Basic 
public class UseOffice : IDisposable
Public Class UseOffice _
	Implements IDisposable

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
UseOffice()()()
Creates an object of the UseOffice class
CloseAccess()()()
Releases MS Access® library from memory
CloseExcel()()()
Releases MS Excel® library from memory
CloseOffice()()()
Releases MS Office® library (MS Word, Excel, PowerPoint) from memory
ClosePowerPoint()()()
Releases MS PowerPoint® library from memory
CloseWord()()()
Releases MS Word® library from memory
ConvertBytes(array<Byte>[]()[], UseOffice..::.eDirection)
Converts a document to another format in memory, see supported UseOffice..::.eDirection.
ConvertFile(String, String, UseOffice..::.eDirection)
Converts a one file to a file with another format, see supported UseOffice..::.eDirection
CreateTraceFile
Forces the component to create a tracing file
DataBasePassword
Allows to specify a password to convert protected Access database
Dispose()()()
Releases MS Office from memory
Exceptions
Allows to get the list of all exceptions which appeared during of the conversion process.
Finalize()()()
Releases MS Office from memory
(Overrides Object..::.Finalize()()().)
InitAccess()()()
Loads MS Access® library in memory
InitExcel()()()
Loads MS Excel® library in memory
InitOffice()()()
Loads MS Office® library (MS Word, Excel, PowerPoint) from memory
InitPowerPoint()()()
Loads MS PowerPoint® library in memory
InitWord()()()
Loads MS Word® library in memory
KillProcesses(String)
Terminates process by its name
OfficeVersion
returns MS Office version
PageStyle
Allows to specify page properties for an output PDF document: page size, orientation and page margins.
PrintPdf(String)
Prints the PDF file using default printer
PrintPdf(String, Int32, Int32)
Prints the PDF file using default printer
Reports
Allows to set report's names which you want to export in PDF
Serial
Set activation key
Sheets
Set custom Excel sheets for converting. By default all sheets from workbook will be converted
TemporaryDirectory
Set a custom temporary directory for the method ConvertBytes(...).
TraceFilePath
Path for creating a tracing file

Remarks



Inheritance Hierarchy

System..::.Object
  SautinSoft..::.UseOffice

See Also