ImageGear v26.3 - Updated November 9, 2022
ImageGear.Formats.Office Assembly / ImageGear.Formats.Office Namespace / ImGearOffice Class / Initialize Method / Initialize(String,Double) Method
The path to the LibreOffice program folder.
The duration in seconds for how long ImageGear should wait for the LibreOffice component to start. Defaults to 30 seconds if not specified.




In This Topic
Initialize(String,Double) Method
In This Topic
Initializes the Office component and resources.
Syntax
'Declaration
 
Public Overloads Shared Sub Initialize( _
   ByVal path As String, _
   Optional ByVal officeStartupTimeout As Double _
) 
 
'Usage
 
Dim path As String
Dim officeStartupTimeout As Double
 
ImGearOffice.Initialize(path, officeStartupTimeout)

Parameters

path
The path to the LibreOffice program folder.
officeStartupTimeout
The duration in seconds for how long ImageGear should wait for the LibreOffice component to start. Defaults to 30 seconds if not specified.
Remarks

This initializes the Office component and sets path to LibreOffice.

See Also