FileSetNTFSMetadata

Top  Previous  Next

Prototype

 

boolOk:=FileSetNTFSMetadata(strFileName, intPropertyIndex, strPropertyValue)

 

Description

 

Set a metadata property into a file.

 

Parameters

 

strFileName: A string containing a valid path and filename.

intPropertyIndex: An integer value representing th property to read. Valid values are

 

2: TITLE

3: SUBJECT

4: AUTHOR

5: KEYWORDS

6: COMMENTS

7: TEMPLATE

8: LASTAUTHOR

9: REVNUMBER

10: EDITTIME

11: LASTPRINTED

12: CREATE_DTM

13: LASTSAVE_DTM

14: PAGECOUNT

15: WORDCOUNT

16: CHARCOUNT

17: THUMBNAIL

18: APPNAME

19: SECURITY

 

strPropertyValue: A string containing the value to set.

 

Returned value

 

BoolExists: true or false logical value. If it returns true then file exists, otherwise it has not been found or it doesn't exists.

 

Notes

 

You can get/set metadata only on NTFS filesystem.

 

Example

 

// Set the metadata "Comment" into the input file

FileSetNTFSMetadata(_CurrentInputFile,6,'Processed with RecogniformImageProcessor !');