Click or drag to resize

UseOfficeConvertBytes Method

Converts a document to another format in memory, see supported UseOfficeeDirection.

Namespace: SautinSoft
Assembly: UseOffice (in UseOffice.dll) Version: 2024.6.26
Syntax
public byte[] ConvertBytes(
	byte[] inputBytes,
	UseOfficeeDirection convertingDirection
)

Parameters

inputBytes  Byte
Input document as a byte array.
convertingDirection  UseOfficeeDirection
Desired converting direction.

Return Value

Byte
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