Convert Excel bytes array to PDF, Word, RTF file. Output file will be created by component or overwritten if already exist

Namespace:  SautinSoft
Assembly:  SautinSoft.ExcelToPdf (in SautinSoft.ExcelToPdf.dll) Version: 4.2.7.24

Syntax

      
 C#  Visual Basic 
public void ConvertByteToFile(
	byte[] excelBytes,
	string outPath
)
Public Sub ConvertByteToFile ( _
	excelBytes As Byte(), _
	outPath As String _
)

Parameters

excelBytes
array< Byte >[]()[]
Array of bytes containing Excel document
outPath
String
Path to output file

Return Value

0 - converting succesfully
2 - can't create output file, check the output path
3 - converting failed

Remarks

See Also