ImageGear .NET v25.0 - Updated
CanCreateMark Method (ImGearAnnotatorMarkController)




ImageGear.Windows.Controls.Art Assembly > ImageGear.Windows.Controls Namespace > ImGearAnnotatorMarkController Class : CanCreateMark Method
Points already entered by user.
Data associated with create action.
Checks if a new mark can be created.
Syntax
'Declaration
 
Public Overridable Function CanCreateMark( _
   ByVal points As IEnumerable(Of ImGearPoint), _
   ByVal createMarkData As ImGearAnnotatorCreateMarkData _
) As Boolean
'Usage
 
Dim instance As ImGearAnnotatorMarkController
Dim points As IEnumerable(Of ImGearPoint)
Dim createMarkData As ImGearAnnotatorCreateMarkData
Dim value As Boolean
 
value = instance.CanCreateMark(points, createMarkData)

Parameters

points
Points already entered by user.
createMarkData
Data associated with create action.

Return Value

True if mark can be created using given points and creation data.
Remarks
Annotator calls this method to determine if a new mark can be created from the given set of points. For example, all rectangular marks can be created by two points, but Protractor requires 3 points, and polyline needs double-click to be created.
See Also

Reference

ImGearAnnotatorMarkController Class
ImGearAnnotatorMarkController Members