CanRecord



Returns true if the item is a recordable item.



Syntax:

Procedure: CanRecord: Boolean;

API Calls

Delphi


// PlanSwift Code:
Result := Item.CanRecord;


//FreshDesk Code:
var  
ps: IPlanSwift;
  itm: IItem;
begin
  // Create Planswift Interface
  ps := coPlanswift.Create;
  // Get the Selected item
  itm := ps.SelectedItem;
  // Check if the item can Record
  if itm.CanRecord then
    // Start Recording if can
    itm.DoRecord
  else
    // Show a message that it can not record
    ShowMessage('Item is not a Digitizing Object');
  ps := nil;

C#

public class PlanswiftApi
{
    private PlanSwift Planswift { get; }
    public PlanSwiftApi()
    {
        Planswift = new PlanSwift();
    }
}


Coming soon

VB/VBA (OLE)

Coming soon


Coming soon