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:
public byte[] ConvertBytes(
	byte[] inputBytes,
	UseOfficeeDirection convertingDirection


inputBytes  Byte
Input document as a byte array.
convertingDirection  UseOfficeeDirection
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.
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