...
Procedure: CurrentVersion;
Code Reference: 1.
- Create a New Form application
...
...
- Add PlanSwift to reference (Planswift9_tlb in the uses)
...
- Copy code to button onclick event
API
...
Calls
Delphi
Code Block |
---|
language | delphi |
---|
firstline | 1 |
---|
title | Using PlanSwift Object Model |
---|
linenumbers | true |
---|
|
//PlanSwift code:
var
sVersion: string;
begin
sVersion := PlanSwift.CurrentVersion;
end;
//FreshDesk code:
procedure TForm1.psCurrentVersion(sender: TObject);
var
ps: IPlanSwift;
begin
//Create Planswift Interface
ps := coPlanswift.Create;
//Show Current Version of Planswift
ShowMessage(ps.CurrentVersion);
//Free the Planswift Interface
ps := nil;
end; |
C#
Code Block |
---|
language | c# |
---|
theme | RDark |
---|
firstline | 1 |
---|
title | Using IItem Object Model |
---|
linenumbers | 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 |