PreviousNext
Help > Programming PhotoModeler - Scripting/DDE Interface > Commands > GetNumMarkedPoints
GetNumMarkedPoints

Description:

Returns the number of Marked Points on a photo.

Syntax:

"GetNumMarkedPoints PhotoID"

where:

PhotoID is a unique identifier number for the photograph (>=1).

Return:

"1 Num"

where:

Num is the number of marks on the photo or "0" if this command failed. 

Failure returns

- incorrect number of parameters

- no project is open

- the photo number is invalid

Example:

"GetNumMarkedPoints 4"

return "1 10"