Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Procedure: SetImagePropertyFromFile(sItemPath: string; sPropertyItem: string; sFilespec: string): integer;


API Call:

Code Block
languagedelphi
titleScripting
linenumberstrue
collapsetrue
var
  nResult       : integer;
  sItemPath     : string;
  sPropertyItem : string;
  sFilespec     : string;
begin
  sItemPath     := '\Job\TakeOff\Section1';
  sPropertyItem := 'image';
  sFilespec     := 'c:\temp.bmp';

  nResult := SetImagePropertyFromFile(sItemPath, sPropertyItem, sFilespec);
end;