These graphics are temporary and are not stored in the iCDB database.
The following table lists methods and properties of the Viewport object with links to the respective reference page.
Method or Property |
Description |
|---|---|
| Arc Method (Viewport Object) | Draws an arc, specified by three points. |
| Arrow Method (Viewport Object) | Draws an arrow from one point to another. |
| Box Method (Viewport Object) | Draws a box. |
| Circle Method (Viewport Object) | Draws a circle at the specified location with the specified radius. |
| Ellipse Method (Viewport Object) | Draws an ellipse centered at X,Y with radii XRadius, YRadius. |
| EraseRectangle Method (Viewport Object) | Erases a rectangle. |
| GetObjectColor Method (Viewport Object) | Gets the color in which the viewport is drawn. |
| Line Method (Viewport Object) | Draws a line from one point to another. |
| PixelRectangle Method (Viewport Object) | Returns the viewport rectangle in terms of pixel coordinates. |
| PixelToUser Method (Viewport Object) | Translates pixel coordinates into user coordinates. |
| Point Method (Viewport Object) | Draws a pixel at a specified location. |
| PolyLine Method (Viewport Object) | Draws a polygon line. |
| SetClipRectangle Method (Viewport Object) | Sets the clipping region for drawing in the form of a Rect Object. |
| SetObjectColor Method (Viewport Object) | Sets the color in which the viewport is drawn. |
| Spline Method (Viewport Object) | Draws a spline with specified control points. |
| Text Method (Viewport Object) | Draws a text string at the specified location. |
| UserRectangle Method (Viewport Object) | Returns a viewport rectangle using the specified coordinates. |
| UserToPixel Method (Viewport Object) | Translates user coordinates into pixel coordinates. |
| FillStyle Property (Viewport Object) | Returns or sets the fill style for polygons, circles and boxes. |
| LineCap Property (Viewport Object) | Returns or sets the style of the end point of a line. |
| LineJoin Property (Viewport Object) | Returns or sets the line join type for polygons. |
| LinePattern Property (Viewport Object) | Returns or sets the line pattern type. |
| LineThickness Property (Viewport Object) | Returns or sets line thickness. |
| RasterMode Property (Viewport Object) | Returns or sets the raster mode. |
| TextAngle Property (Viewport Object) | Sets the text angle. |
| TextFont Property (Viewport Object) | Sets the font used for text. |
| TextSize Property (Viewport Object) | Sets the size (height) of the text. |