4D View v16PV GET BORDER ROW RANGES |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D View v16
PV GET BORDER ROW RANGES
PV GET BORDER ROW RANGES
The PV GET BORDER ROW RANGES command returns a list of ranges describing cells sharing the same top border style (a border style consists of a type and a color). Each range is returned through synchronized left, top, right and bottom arrays, where each element represents, respectively, the left, top, right and bottom cell numbers of the range. Corresponding border styles are returned in the borderTypes and borderColors array parameters:
This command should be used in conjunction with the PV GET BORDER COLUMN RANGES command to get a complete definition of the borders in your area, which is useful for example when you want to export a 4D View area in MS Excel format. Note: The range list returned by the command depends on the way the ranges were defined. For example, if you drew a horizontal line while selecting the range (4A;4E), the command only returns a single value corresponding to the range (4A;4E). However, if you draw a horizontal line in row 4 and then loop over columns A to E, the command returns five values corresponding to each iteration of the loop. The result is visually identical but the information stored in the area is different. Your 4D View area contains the following borders: If you execute this code: PV GET BORDER ROW RANGES(myArea;LeftArray;TopArray;RightArray;BottomArray;BorderTypeArray;BorderColorArray) Four ranges will be detected, thus your arrays contain the following values:
See also
|
PROPERTIES
Product: 4D View
HISTORY
Created: 4D View v14 R4 ARTICLE USAGE
4D View Language ( 4D View v16) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||