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.
GetOneWayLayout - FD
GetOneWayLayout
Function used to perform segment layouts at a specified span, horizontal run, as well as spacing.Â
Arguments:Â
AItem: WideString
Specifies the area section to assign the layout segments to.
sSpanHint: WideString
Hint to user on mouse cursor specifying to select the span line.
sRunHint: WideString
Hint to user on mouse cursor specifying to select the run line.
bIncludeFirst: WordBool
Specifies whether to include a segment at the "start" run point. Even if it does not fall within the spacing range.
bIncludeLast: WordBool
Specifies whether to include a segment at the "last" run point. Even if it does not fall within the spacing range.
nSpacing: Double
Specifies the "run" spacing used when laying out segment objects.
AArea: WideString (optional parameter)
Specifies a defined "Area Segment" to trim/extend laid segments to. Supply either the path or guid to the area section. Or, empty double-quotes for no trim/extending required.
Syntax:
Function
:GetOneWayLayout(
const
 AItem:Â
WideString
;Â
const
 sSpanHint:Â
WideString
;Â
const
 sRunHint:Â
WideString
; bIncludeFirst: WordBool; bIncludeLast: WordBool; nSpacing:Â
Double
;Â
const
 AArea:Â
WideString
): WordBool;
Code Reference:
- 1. Create a New Form application
- 2. Add a button to the form
- 3. Add Planswift to reference (Planswift9_tlb in the uses)
- 4. Copy code to button onclick event
API Calls
Delphi
C#
VB/VBA (OLE)
Pascal Scripting (OLE)
Pascal Scripting
Copyright 2023 ConstructConnect