![]() ![]() The way the circle is drawn on the background depends on the settings of the DrawMode and DrawStyle properties. The width of the line used to draw the circle, ellipse, or arc depends on the DrawWidth property setting. If you omit a trailing argument, don't use any commas following the last argument that you specify. You can omit an argument in the middle of the syntax, but you must include the argument's comma before including the next argument. For example, you might specify -.00000001 for the Start argument. When drawing pie slices, if you need to draw a radius to angle 0 to form a horizontal line segment to the right, specify a very small negative value for the Start argument rather than 0. Closed figures include circles, ellipses, and pie slices, which are arcs with radius lines drawn at both ends. To fill a circle, set the FillColor and FillStyle properties of the report. The Circle method always draws in a counterclockwise (positive) direction. If the End argument is negative, the Circle method draws a radius to the position specified by the End argument and again treats the angle as positive. When drawing a partial circle or ellipse, if the Start argument is negative, the Circle method draws a radius to the position specified by the Start argument and treats the angle as positive. Use this method only in an event procedure or a macro specified by the event properties for a report section, or the OnPage event property for a report. The default value is 1.0, which yields a perfect (nonelliptical) circle on any screen. ![]() Indicates the aspect ratio of the circle. The range is -2 pi radians to 2 pi radians. The default value for the End argument is 2 pi radians. When a partial circle or ellipse is drawn, the End argument specifies (in radians) the end position of the arc. The default value for the Start argument is 0 radians. When a partial circle or ellipse is drawn, the Start argument specifies (in radians) the beginning position of the arc. You can also use the RGB function or QBColor function to specify the color. If this argument is omitted, the value of the ForeColor property is used. Indicates the RGB (red-green-blue) color of the circle outline. By default, distances are measured in twips. The Scale properties ( ScaleMode, ScaleLeft, ScaleTop, ScaleHeight, and ScaleWidth) of the Report object specified by the Object argument determine the unit of measure used. Indicates the radius of the circle, ellipse, or arc. ![]() Indicates the coordinates of the center point of the circle, ellipse, or arc. Indicates that the center of the circle, ellipse, or arc is relative to the current coordinates given by the current settings for the CurrentX and CurrentY properties of the Object argument. Circle ( Step ( x, y), Radius, Color, Start, End, Aspect)Įxpression A variable that represents a Report object. The Circle method draws a circle, an ellipse, or an arc on a Report object when the Print event occurs. ![]()
0 Comments
Leave a Reply. |