Add an Image File to the Document Manager.

If resized or the orientation is required to be fixed, the Image will be saved as a PNG file.

Syntax

finDocumentFiles.AddImage(fileData, destFileCategory, [maxWidth], [autoFixOrientation], [destFileName], [newDocumentFile], [neverOverwrite])

Parameters

NameTypeOptionalByRefDescription
fileData Byte()
destFileCategory String
maxWidth Integer Optional If omitted, a value of -1 is assumed.
autoFixOrientation Boolean Optional If omitted, a value of False is assumed.
destFileName String Optional
newDocumentFile finDocumentFile Optional ByRef If omitted, a value of Nothing is assumed.
neverOverwrite Boolean Optional If omitted, a value of False is assumed.

Return Value

Boolean
Member of:
finDocumentFiles
Namespace:
Intersoft.finSupport6
Assembly:
finSupport6, Version=6.0.3
Target Framework:
.NET 9.0