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.

NewBlankPage (2)

NewBlankPage



Creates a blank page in the current job and returns the Page Item that was created.



Syntax:

Procedure: NewBlankPage(AName: string; AWidth, AHeight, ADPI: integer; AScale: string): string;


API Call:

Scripting
var
  oPageItem : IItem;
  AName     : WideString;
  AWidth    : integer;
  AHeight   : integer;
  ADPI      : integer;
  AScale    : WideString;
begin
  AName   := 'Floor Plan';
  AWidth  := 36;
  AHeight := 24;
  ADPI    := 100;
  AScale  := '1=48';

  oPageItem := NewBlankPage(AName, AWidth, AHeight, ADPI, AScale);
end;

Copyright 2023 ConstructConnect