Converts a document to another format in memory, see supported UseOffice..::.eDirection.

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

Syntax

      
 C#  Visual Basic 
public byte[] ConvertBytes(
	byte[] inputBytes,
	UseOffice..::.eDirection convertingDirection
)
Public Function ConvertBytes ( _
	inputBytes As Byte(), _
	convertingDirection As UseOffice..::.eDirection _
) As Byte()

Parameters

inputBytes
array< Byte >[]()[]
Input document as a byte array.
convertingDirection
UseOffice..::.eDirection
Desired converting direction.

Return Value

null - in case of conversion failed.
array of bytes containing the document in desired format - in case of successful conversion.

Remarks

Note: Actually the conversion process will be done using temporary files inside the temp folder of current user.
The temporary files will be removed immediately after the conversion process.

See Also