Add an Image File to the Document Manager and associate it with this Client record.

The Image will be saved as a PNG file and the Client will be saved.

Syntax

finClient.ImageFileAdd(fileData, [fileName], [maxWidth], [autoFixOrientation])

Parameters

NameTypeOptionalByRefDescription
fileData Byte() A Byte Array containing the Image File Data.
fileName String Optional A File Name to save to. If unspecified, a File Name will be automatically generated.
maxWidth Integer Optional Image will be reduced to the specified amount (and height reduced proportionally) if it is larger than the maxWidth value. If a maxWidth value less than 240 is specified then maxWidth will be set to 240. If a maxWidth value greater than 2048 is specified then maxWidth will be set to 2048. The default maxWidth value is 1024. If omitted, a value of 1024 is assumed.
autoFixOrientation Boolean Optional If omitted, a value of True is assumed.

Return Value

Boolean

A Boolean value indicating success.

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