ImageEn, unit ievect

TImageEnVect.SelObjectsCount

TImageEnVect.SelObjectsCount


Declaration

property SelObjectsCount: integer;


Description

SelObjectsCount returns how many objects are selected.

Read-only


Example

// Sets pen color to clRed for all selected objects.
for i := 0 to ImageEnVect1.SelObjectsCount-1 do
  ImageEnVect1.ObjPenColor[ ImageEnVect1.SelObjects[i] ] := clGreen;


Transition Information

If you are transitioning your code to TImageEnView Layers, instead of SelObjectsCount, use: TImageEnView.LayersSelCount

n := ImageEnView1.LayersSelCount;