C# and Delphi code examples below show how API is accessed via COM.
procedure main;
var
planswift: IPlanSwift;
settings: IItem;
property: IPropertyObject
begin
planswift := coPlanSwift.Create();
settings := planswift.getItem('\Settings');
property := planswift.GetProperty('AllowExtenderDPI');
WriteLn(property.RResultAsBoolean())
end
//or
procedure main;
var
planswift: IPlanSwift;
property:IPropertyObject;
begin planswift := coPlanSwift.Create();
property := planswift.GetProperty('\Settings','AllowExtenderDPI');
WriteLn(property.ResultAsBoolean())
end;
private void Main()
{
PlanSwift planswift = new PlanSwift();
IItem settings = planswift.GetItem(@"\Settings");
IPropertyObject property = settings.GetProperty("AllowExtenderDPI");
console.WriteLn(property.ResultAsBoolean())
}
private void Main()
{
PlanSwift planswift = new PlanSwift();
IPropertyObject property = planswift.GetProperty(@"\Settings","AllowExtenderDPI")
console.WriteLn(property.ResultAsBoolean)
}