Versions Compared

Key

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

...

This represents the root object of the Document Object Model.

This interface can be accessed from most development IDEs. It can also be used in the PlanSwift script IDE by using the always available "PlanSwift" object. You should never attempt to create or free the PlanSwift object from script.

While most IDE packages will include the PlanSwift DOM for early binding use, the following shows a late binding example.

...


API Call

Delphi

Code Block
languagedelphi
themeRDark
firstline1
titleUsing IItem Object Model
linenumberstrue
collapsetrue
var
ps:IPlanswift;
begin                             
    ps := coPlanswift.create;
    ps.About;
end; 


Code Block
languagedelphi
themeRDark
firstline1
titleUsing PlanSwift Object Model
linenumberstrue
collapsetrue
Coming soon

C#

Code Block
languagec#
themeRDark
firstline1
titleUsing IItem Object Model
linenumberstrue
collapsetrue
using PlanSwift9;
public class PlanswiftApi
{
    private PlanSwift Planswift { get; }
    public PlanswiftApi()
    {
        Planswift = new PlanSwift();
    }
}


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

VB/VBA (OLE)

Code Block
languagevb
themeRDark
firstline1
titleUsing PlanSwift Object Model
linenumberstrue
collapsetrue
Coming soon