Versions Compared

Key

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

EndUpdate

...


...

Signals the end of update operations.

...


Syntax:

Procedure: EndUpdate;

Code Reference:

...

  1. Create a New Project
  2. Add PlanSwift Reference Usage


API Calls

Delphi

Code Block
languagedelphi
themeRDark
firstline1
titleUsing PlanSwift Object Model
linenumberstrue
collapsetrue
// 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
languagec#
themeRDark
firstline1
titleUsing IItem Object Model
linenumberstrue
collapsetrue
public class PlanswiftApi
{
    private PlanSwift Planswift { get; }
    public PlanSwiftApi()
    {
        Planswift = new PlanSwift();
    }
}


Code Block
languagec#
themeRDark
firstline1
titleUsing PlanSwift Object Model
linenumberstrue
Coming soon


VB/VBA (OLE)

Code Block
languagevb
firstline1
titleUsing IItem Object Model
linenumberstrue
Coming soon


Code Block
languagevb
firstline1
titleUsing PlanSwift Object Model
linenumberstrue
Coming soon