The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Declaration:property TypeOfLastItem: TrcItem;

The read-only property TypeOfLastItem returns the type of the last drawing item in the data container. This property can be used to remove certain types of graphics elements from the end of the data container.

Example: The following statement removes all elements from the end of the data container which are not marks:

while (RChart1.TypeofLastItem <> tkMarkAt) and 
      (RChart1.TypeofLastItem <> tkNone) do 

Example: This property is used in the following example program (see for downloading the code): curvefit

Last Update: 2012-Oct-20