To open any link in a new tab, preserving your position in the current article, just hold down the <CTRL> key on your keyboard before clicking the link or click using your mouse wheel.

JumpLastView

JumpLastView



Boolean value controlling whether to jump to the last view of a page when reopening that page (Figure 1). For example, if a particular area of a page has been zoomed in on, and then a different page opened, then, if the Automatic jump to the last view when opening a page box is checked, then the zoomed-in view will be visible when reopening that page. If that box has not been checked, then the user will only see the default Fit-to-Page view when reopening that page. Checked (true) jumps to the last view. Unchecked (false) jumps to the default view.



             Figure 1

API Calls

Delphi

Using IItem Object Model
procedure main; 
var
 planswift: IPlanSwift;
 settings: IItem;
 property: IPropertyObject 
begin
 planswift := coPlanSwift.Create();
 settings := planswift.getItem('\Settings');
 property := planswift.GetProperty('JumpLastView');
 WriteLn(property.RResultAsBoolean()) 
end
Using PlanSwift Object Model
//or 
procedure main; 
var
 planswift: IPlanSwift;
 property:IPropertyObject; 
begin
 planswift := coPlanSwift.Create();
 property := planswift.GetProperty('\Settings','JumpLastView'); 
 WriteLn(property.ResultAsBoolean()) 
end;

C#

Using IItem Object Model
private void Main()
{
	PlanSwift planswift = new PlanSwift();
	IItem settings = planswift.GetItem(@"\Settings");
	IPropertyObject property = settings.GetProperty("JumpLastView");
	console.WriteLn(property.ResultAsBoolean())
}
Using PlanSwift Object Model
private void Main()
{
	PlanSwift planswift = new PlanSwift();
	IPropertyObject property = planswift.GetProperty(@"\Settings","JumpLastView")
	console.WriteLn(property.ResultAsBoolean)
}

VB/VBA (OLE)

Using IItem Object Model
Sub main()
    Dim planswift = CreateObject("PlanSwift9.PlanCenter")
    Dim settings = planswift.GetItem("\Settings")
    Dim property = settings.GetProperty("JumpLastView")
    Console.WriteLn(property.ResultAsBoolean());
End Sub
Using PlanSwift Object Model
Sub Main()
    Dim planswift = CreateObject("PlanSwift9.PlanCenter")
    Dim nameProperty = planswift.GetProperty("\Settings","JumpLastView")
    Console.WriteLn(property.ResultAsBoolean)
End Sub

Pascal Scripting (OLE)

Item Object Model
begin
    settings := getItem('\Settings');
    ShowMessage(GetResultAsBoolean(settings,'JumpLastView'));
end
Root Object Model
begin
   ShowMessage(GetResultAsBoolean('\Settings','JumpLastView'));
end

Pascal Scripting

Item Object Model
begin
    settings := PlanSwift.getItem('\Settings');
    property := settings.GetProperty('JumpLastView');
    ShowMessage(property.ResultAsBoolean);
end
Using the PlanSwift Object Model
begin
    property := PlanSwift.GetProperty('\Settings','JumpLastView');
    ShowMessage(property.ResultAsBoolean);
end



Copyright 2023 ConstructConnect