
With this API method, you can define the size for a inserted line.
To call the method, use Application.Run and specify the following input parameters:
If you define a rule ID, you can address it in other API methods, e.g. for deleting the rule with SAPDeleteDesignRule.
If you do not define an ID, the system generates one automatically.
Enter the formula alias for the data source. You can set the alias when configuring the data source on the Components tab in the design panel.
Enter the rule ID of the inserted line whose size should be fixed.
Enter an integer number. The measurement unit for the size is pixel.
Dim lResult As String
lResult= Application.Run("SAPFixLineSize", "SizeLine1", "DS_1", "NewLine1", "20")
The size of the new inserted line with ID NewLine1 is set to 20 pixel. The rule ID for the new line size is SizeLine1.