MarkupLayer

Object List Hierarchy Next Object

Definition:

An invisible Drawable, which appears to "float" above other controls on a form. It appears invisible because it does not draw a background color.

Icon: images/Phx00143.gif

Specialized Features:

The following tables list and describe the properties and methods added by MarkupLayer. There are no added properties or events.


Property Use to…


Count Indicate the number of GDI objects on the MarkupLayer.


Methods Use to...


AddObject Add an object to a MarkupLayer.

Clear Remove all GdiObjects from a MarkupLayer.

DeleteObject Remove a GdiObject from the display list of a MarkupLayer.

FindObject Return the GdiObject that is under the given (x,y) point on the MarkupLayer, that is within a certain hit radius.

ObjectAt Return the GDIObject at a specified location in the display list of the MarkupLayer.

TrackObject Dynamically constructs a GdiObject on the MarkupLayer.

Copied Features:

images/Phx00144.gif Properties images/Phx00145.gif Methods images/Phx00146.gif Events

Details:

This object also has the ability to maintain a display list of objects that are automatically drawn during the painting of this kind of control. These types of objects are called GdiObject
s and include things such as GdiLine, GdiPolyline, and GdiShape.