To open any link in a new tab, preserving your position in the current article, just hold down the <CTRL> key on your keyboard before clicking the link or click using your mouse wheel.

SetImagePropertyFromFile

SetImagePropertyFromFile



Assigns an image to a property within an item. Item is passed with a filespec parameter.



Syntax:

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


API Call:

Scripting
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;

Copyright 2023 ConstructConnect