Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Integer value returns an ANSI key code (default code 78, the letter N) for the New Section hotkey. Figure 1 shows where the New Section hotkey assignment is made. Figure 2 shows where the New Section command is invoked on the PlanSwift Main Menu ribbon bar. Figure 3 shows where New Section may be invoked by right-clicking on a selected selection.

API Call:


Code Block
languagec#
themeRDark
firstline1
titleC#
linenumberstrue
collapsetrue
private void Main()
{
	PlanSwift planswift = new PlanSwift();
	IItem settings = planswift.GetItem(@"\Settings");
	IPropertyObject property = settings.GetProperty("NewSectionHotKey");
	console.WriteLn(property.ResultAsInteger())
}

//or

private void Main()
{
	PlanSwift planswift = new PlanSwift();
	IPropertyObject property = planswift.GetProperty(@"\Settings","NewSectionHotKey")
	console.WriteLn(property.ResultAsInteger)
}

...

             Figure 1



            Figure 2


Image Added

           Figure 3