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


Type: SystemByte
Input document as a byte array.
Type: SautinSoftUseOfficeeDirection
Desired converting direction.

Return Value

Type: Byte
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