
This method draws a solid rectangle on the control.
Returns the following according to the situation:
The recommended convention is passing the control identifier directly:
Copy Code |
|---|
(Odcl_SlideView_FillImage MyControlReference [as Reference] (list (list UpperLeftX [as Integer] UpperLeftY [as Integer] Width [as Integer] Height [as Integer] FillColor [as Color]) (list UpperLeftX [as Integer] UpperLeftY [as Integer] Width [as Integer] Height [as Integer] FillColor [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_FillImage ProjectFile [as String] DialogName [as String] ControlName [as String] (list (list UpperLeftX [as Integer] UpperLeftY [as Integer] Width [as Integer] Height [as Integer] FillColor [as Color]) (list UpperLeftX [as Integer] UpperLeftY [as Integer] Width [as Integer] Height [as Integer] FillColor [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 solid rectangles (Odcl_SlideView_FillImage MyProject_MyForm_MyControl (list (list 0 0 50 50 3233322) (list 50 50 50 50 3234555) ) ) |
SlideView_EndImage, SlideView_SlideImage, SlideView_VectorImage