EndUpdate
Text:
API Call:Calls the PlanSwift EndUpdate procedure
Syntax:
Procedure: PlanSwift.EndUpdate;
Code Instruction:
- Create a New Project
- Add Planswift Reference Usage
API Calls
Delphi
Code Block |
---|
language | delphi |
---|
theme | RDark |
---|
firstline | 1 |
---|
title | Using IItem Object Model |
---|
linenumbers | true |
---|
collapse | true |
---|
|
procedure TForm1.FormCreate(Sender: TObject);
var
ps:IPlanswift;
itm,sect: IItem;
begin
ps := coPlanswift.Create;
ps.BeginUpdate;
// Create a new area item
itm := ps.NewItem(ps.GetItem('Takeoff'),'Area','My Test Area');
// Add a Section the item
sect := itm.NewSection('test Section');
// Add Points to the section
sect.NewPoint(0,0);
Sect.NewPoint(10,0);
sect.NewPoint(10,10);
sect.NewPoint(0,10);
//closes the box
sect.NewPoint(0,0);
//End Update
ps.EndUpdate;
end; |
Code Block |
---|
language | delphi |
---|
firstline | 1 |
---|
title | Using PlanSwift Object Model |
---|
linenumbers | true |
---|
|
|
C#
Code Block |
---|
language | c# |
---|
theme | RDark |
---|
firstline | 1 |
---|
title | Using IItem Object Model |
---|
linenumbers | true |
---|
|
|
Code Block |
---|
language | c# |
---|
theme | RDark |
---|
firstline | 1 |
---|
title | Using PlanSwift Object Model |
---|
linenumbers | true |
---|
|
|
VB/VBA (OLE)
Code Block |
---|
language | vb |
---|
firstline | 1 |
---|
title | Using IItem Object Model |
---|
linenumbers | true |
---|
|
|
Code Block |
---|
language | vb |
---|
firstline | 1 |
---|
title | Using PlanSwift Object Model |
---|
linenumbers | true |
---|
|
|
Pascal Scripting (OLE)
Code Block |
---|
firstline | 1 |
---|
title | Item Object Model |
---|
linenumbers | true |
---|
|
|
Code Block |
---|
title | Root Object Model |
---|
linenumbers | true |
---|
|
|
Pascal Scripting
Code Block |
---|
firstline | 1 |
---|
title | Item Object Model |
---|
linenumbers | true |
---|
|
|
Code Block |
---|
title | Using the PlanSwift Object Model |
---|
linenumbers | true |
---|
|
|