...
Integer value returns an ANSI key code (default code 49, the number 1) for the New Area hotkey. Figure 1 shows where the New Area hotkey is assigned. Figure 2 shows where New Area is invoked on the Main Ribbon Bar.
...
Figure 1
Figure 2
...
Code Block | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
//or procedure main; var planswift: IPlanSwift; property:IPropertyObject; begin planswift := coPlanSwift.Create(); property := planswift.GetProperty('\Settings','NewAreaHotKey'); WriteLn(property.ResultAsInteger()) end; |
...
Code Block | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
private void Main() { PlanSwift planswift = new PlanSwift(); IItem settings = planswift.GetItem(@"\Settings"); IPropertyObject property = settings.GetProperty("NewAreaHotKey"); console.WriteLn(property.ResultAsInteger()) } |
...
Code Block | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
private void Main() { PlanSwift planswift = new PlanSwift(); IPropertyObject property = planswift.GetProperty(@"\Settings","NewAreaHotKey") console.WriteLn(property.ResultAsInteger) } |
...