
This method will paint a single point on the control any specified color.
Returns the following according to the situation:
The recommended convention is passing the control identifier directly:
Copy Code |
|---|
(Odcl_PictureBox_DrawPoint MyControlReference [as Reference] X [as Integer] Y [as Integer] Color [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_PictureBox_DrawPoint ProjectFile [as String] DialogName [as String] ControlName [as String] X [as Integer] Y [as Integer] Color [as Color] ) |
This function requires that the component is showing. Otherwise it has no effect.
This method does not accept lists passed in to specify a group of points to be drawn. Due to ObjectARX limitations in lists, at this time, small lists cannot be supported.
Copy Code |
|---|
; Draw a point (Odcl_PictureBox_DrawPoint MyProject_MyForm_MyControl 50 50 -11) |
PictureBox_DrawArc, PictureBox_DrawCircle, PictureBox_DrawEdge, PictureBox_DrawFillRect, PictureBox_DrawFocusRect, PictureBox_DrawHatchRect, PictureBox_DrawLine, PictureBox_DrawRect, PictureBox_DrawText, PictureBox_DrawWrappedText