 | ICommenceDatabaseViewImageFieldToFile Method |
Copies the image field data in Field from the Indexth item that satisfies the currently defined filter (if any) to the specified Filename.
Namespace:
Vovin.CmcLibNet.Database
Assembly:
Vovin.CmcLibNet (in Vovin.CmcLibNet.dll) Version: 1.0.7729.42686
Syntaxbool ViewImageFieldToFile(
int index,
string fieldName,
string fileName
)
Function ViewImageFieldToFile (
index As Integer,
fieldName As String,
fileName As String
) As Boolean
Parameters
- index
- Type: SystemInt32
Index of Nth item (1-based). - fieldName
- Type: SystemString
Commence field name. - fileName
- Type: SystemString
Fully qualified path including the drive letter (e.g. c:\tmp\data.bmp). If the file does not exist, Commence will create it; the drive and directory, however, must already exist. If the file exists, it will be overwritten. It is the client’s responsibility to perform the necessary file cleanup.
Return Value
Type:
Booleantrue on success, inspect
GetLastError on failure.
See Also