Show TOC

SAPFixLineSizeLocate this document in the navigation structure

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:

  • RuleID

    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.

  • Data Source Alias

    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.

  • ID of new line

    Enter the rule ID of the inserted line whose size should be fixed.

  • Size

    Enter an integer number. The measurement unit for the size is pixel.

Example

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.