SendScreenShot
Boolean value controlling whether screenshots of errors are sent to PlanSwift. Checked is true and sends screenshots. Unchecked is false and does not send them.
API Calls
Delphi
procedure main;
var
planswift: IPlanSwift;
settings: IItem;
property: IPropertyObject
begin
planswift := coPlanSwift.Create();
settings := planswift.getItem('\Settings');
property := planswift.GetProperty('SendScreenshot');
WriteLn(property.RResultAsBoolean())
end
//or
procedure main;
var
planswift: IPlanSwift;
property:IPropertyObject;
begin planswift := coPlanSwift.Create();
property := planswift.GetProperty('\Settings','SendScreenshot');
WriteLn(property.ResultAsBoolean())
end;
C#
private void Main()
{
PlanSwift planswift = new PlanSwift();
IItem settings = planswift.GetItem(@"\Settings");
IPropertyObject property = settings.GetProperty("SendScreenShot");
console.WriteLn(property.ResultAsBoolean())
}
private void Main()
{
PlanSwift planswift = new PlanSwift();
IPropertyObject property = planswift.GetProperty(@"\Settings","SendScreenShot")
console.WriteLn(property.ResultAsBoolean)
}
VB/VBA (OLE)
Sub main()
Dim planswift = CreateObject("PlanSwift9.PlanCenter")
Dim settings = planswift.GetItem("\Settings")
Dim property = settings.GetProperty("SendScreenShot")
Console.WriteLn(property.ResultAsBoolean());
End Sub
Sub Main()
Dim planswift = CreateObject("PlanSwift9.PlanCenter")
Dim nameProperty = planswift.GetProperty("\Settings","SendScreenShot")
Console.WriteLn(property.ResultAsBoolean)
End Sub
Pascal Scripting (OLE)
begin
settings := getItem('\Settings');
ShowMessage(GetResultAsBoolean(settings,'SendScreenShot'));
end
begin
ShowMessage(GetResultAsBoolean('\Settings','SendScreenShot'));
end
Pascal Scripting
begin
settings := PlanSwift.getItem('\Settings');
property := settings.GetProperty('SendScreenShot');
ShowMessage(property.ResultAsBoolean);
end
begin
property := PlanSwift.GetProperty('\Settings','SendScreenShot');
ShowMessage(property.ResultAsBoolean);
end