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

Parameters

inputBytes
Type: SystemByte
Input document as a byte array.
convertingDirection
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.
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