The CogPolygon type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| Area | Area of the enclosed region, in units consistent with the SelectedSpaceName. Zero if there are fewer than 3 vertices. | |
| ChangedEventSuspended | If nonzero, indicates that the raising of the Changed event has been suspended. This value is incremented when SuspendChangedEvent is called and decremented when ResumeAndRaiseChangedEvent is called. | |
| Children | Children of this graphic. | |
| Color | Color of this graphic. Can be any OLE_COLOR. | |
| Complex | True if any segments are intersecting, otherwise False. | |
| Convex | True if the polygon is identical to the convex hull of its vertices, otherwise False. | |
| DragColor | Color of this graphic when dragged. | |
| DragLineStyle | Line style of this graphic when dragged. | |
| DragLineWidthInScreenPixels | Line width of this graphic when dragged. | |
| FillMode | The algorithm to be used to distinguish inside from outside. | |
| GraphicDOFEnable | Interactive Degree of freedom for this graphic object. Provides the ability to govern interactive manipulation of an object; for example could be used to prevent an object from being resized. | |
| GraphicDOFEnableBase | Interactive Degree of freedom for a graphic object. Allows access to each graphic's GraphicDOFEnable property without knowing the specific graphic type. | |
| HasChanged | If true, the serializable state of this object has changed since the last time it was serialized. | |
| HighlightColor | Get or set the color of the vertex highlight. | |
| HighlightIndex | Get or set the index of the vertex to be highlighted. If set to -1, no vertex highlighting will occur. | |
| HighlightRequested | If greater than zero, vertex highlighting is enabled. | |
| Interactive | Interactive property allow this graphic object to be selected. See GraphicDOFEnable for information on governing interactive manipulation of an object. | |
| LineStyle | Line style of this graphic. | |
| LineWidthInScreenPixels | Line width (in screen pixels) of this graphic. | |
| MouseCursor | Mouse cursor to be displayed when the mouse is over the graphic. The cursor will be visible only if the graphic is interactive. | |
| NumVertices | Number of vertices in this polygon. | |
| Parent | Parent of this graphic. | |
| Perimeter | Perimeter of the polygon, in units consistent with the SelectedSpaceName. Zero if there are fewer than 2 vertices. | |
| Selected | True when the shape is selected in a display. | |
| SelectedColor | Color of this graphic when selected. | |
| SelectedLineStyle | Line style of this graphic when selected. | |
| SelectedLineWidthInScreenPixels | Line width of this graphic when selected. | |
| SelectedSpaceName | Coordinate space in which this shape is to be interpreted. | |
| TipText | Text to describe this graphic in a tool tip. | |
| VertexAdornment | The adornment shape to be rendered for each vertex. | |
| VertexCapacity | The maximum number of vertices that may be held by this polygon without reallocating storage. | |
| Visible | Visible property of this graphic. |
See Also