
This method draws a list of lines in the control.
Returns the following according to the situation:
The recommended convention is passing the control identifier directly:
Copy Code |
|---|
(Odcl_SlideView_VectorImage MyControlReference [as Reference] (list (list StartX [as Integer] StartY [as Integer] EndX [as Integer] EndY [as Integer] LineColor [as Color]) (list StartX [as Integer] StartY [as Integer] EndX [as Integer] EndY [as Integer] LineColor [as Color]) ... ) ) |
An alternative convention is to identify the control by providing the project file, the dialog name and the control name:
Copy Code |
|---|
(Odcl_SlideView_VectorImage ProjectFile [as String] DialogName [as String] ControlName [as String] (list (list StartX [as Integer] StartY [as Integer] EndX [as Integer] EndY [as Integer] LineColor [as Color]) (list StartX [as Integer] StartY [as Integer] EndX [as Integer] EndY [as Integer] LineColor [as Color]) ... ) ) |
Please create lists as follows using the list keyword:
(list (list x y ...) (list x y ...) ...)
It seems that ObjectARX does not always handle lists created as follows:
'(x y ...) (x y ...) ...
Copy Code |
|---|
; Draw lines (Odcl_SlideView_VectorImage MyProject_MyForm_MyControl (list (list 0 0 100 100 8765655) (list 0 100 100 0 9975446) ) ) |
SlideView_EndImage, SlideView_FillImage, SlideView_SlideImage