The UseOffice type exposes the following methods.

Methods

 Public

 Protected
 Instance

 Static
 Declared

 Inherited
 XNA Framework Only

 .NET Compact Framework Only

 MemberDescription
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
Dispose()()()
Releases MS Office from memory
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
PrintPdf(String)
Prints the PDF file using default printer
PrintPdf(String, Int32, Int32)
Prints the PDF file using default printer

See Also