ImageGear21.Windows.Controls Assembly > ImageGear.Windows.Controls Namespace > PageView Class : InProgressMark Property |
'Declaration Public Property InProgressMark As ImGearARTMark
'Usage Dim instance As PageView Dim value As ImGearARTMark instance.InProgressMark = value value = instance.InProgressMark
public ImGearARTMark InProgressMark {get; set;}
public: __property ImGearARTMark* get_InProgressMark(); public: __property void set_InProgressMark( ImGearARTMark* value );
public: property ImGearARTMark^ InProgressMark { ImGearARTMark^ get(); void set ( ImGearARTMark^ value); }
This property can be used in the PageView mouse event handlers to display a mark, such as a custom mark, while using the mouse to add a mark (before the mark is actually added to the PageView ART page). The InProgressMark property is set internally while a non-custom mark is being drawn using the mouse, and the property is automatically reset to null after a mark is created. The mark is displayed using image coordinates and is separate from the PageView control's ART page.
If the InProgressMark is an ImGearARTPolyline, then the IsClosed property of the InProgressMark will have no effect. If the IsClosed property of the template mark (specified by the ImGearAnnotationTemplates Polyline or Freehand property) is true, then the polyline is drawn as closed. If it is false, then the ImGearAnnotationSettings IsPolylineAutoCloseEnabled and PolyMarkPointRadiusThreshold properties are used to determine whether the polyline is drawn as closed.