...
Delphi
Code Block | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
procedure main; var planswift: IPlanSwift; settings: IItem; property: IPropertyObject begin planswift := coPlanSwift.Create(); settings := planswift.getItem('\Settings'); property := planswift.GetProperty('AllowExtenderDPI'); WriteLn(property.RResultAsBoolean()) end |
Code Block | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
//or procedure main; var planswift: IPlanSwift; property:IPropertyObject; begin planswift := coPlanSwift.Create(); property := planswift.GetProperty('\Settings','AllowExtenderDPI'); WriteLn(property.ResultAsBoolean()) end; |
...
Code Block | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
private void Main() { PlanSwift planswift = new PlanSwift(); IItem settings = planswift.GetItem(@"\Settings"); IPropertyObject property = settings.GetProperty("AllowExtenderDPI"); console.WriteLn(property.ResultAsBoolean()) } |
...
Code Block | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
private void Main() { PlanSwift planswift = new PlanSwift(); IPropertyObject property = planswift.GetProperty(@"\Settings","AllowExtenderDPI") console.WriteLn(property.ResultAsBoolean) } |
...