EndUpdate
...
...
Signals the end of update operations.
...
Syntax:
Procedure: EndUpdate;
Code Reference:
...
- Create a New Project
- Add PlanSwift Reference Usage
API Calls
Delphi
Code Block |
---|
language | delphi |
---|
theme | RDark |
---|
firstline | 1 |
---|
title | Using PlanSwift Object Model |
---|
linenumbers | true |
---|
collapse | true |
---|
|
// PlanSwift code:
PlanSwift.EndUpdate;
// FreshDesk code:
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; |
C#
Code Block |
---|
language | c# |
---|
theme | RDark |
---|
firstline | 1 |
---|
title | Using IItem Object Model |
---|
linenumbers | true |
---|
collapse | true |
---|
|
public class PlanswiftApi
{
private PlanSwift Planswift { get; }
public PlanSwiftApi()
{
Planswift = new PlanSwift();
}
} |
Code Block |
---|
language | c# |
---|
theme | RDark |
---|
firstline | 1 |
---|
title | Using PlanSwift Object Model |
---|
linenumbers | true |
---|
|
Coming soon |
VB/VBA (OLE)
Code Block |
---|
language | vb |
---|
firstline | 1 |
---|
title | Using IItem Object Model |
---|
linenumbers | true |
---|
|
Coming soon |
Code Block |
---|
language | vb |
---|
firstline | 1 |
---|
title | Using PlanSwift Object Model |
---|
linenumbers | true |
---|
|
Coming soon |