ImageGear Professional for Windows ActiveX
PreModifyNotify Event

Description:

Raised after the user has modified the mark for any of the reasons listed in enumIGArtModifyReason Enumeration, but before the changes have been recorded in the IGArtPage Object.

Your event handler determines whether the modifications will be recorded. If ModifyFlag is set to True, then the changes are recorded; if ModifyFlag is set to False, they are not.

This event occurs part-way through the modification process. For example, if the user changes the text in a Typed Text mark, PreModifyNotify Event is raised after the user has changed the text and then clicked outside of the mark. ImageGear then changes the text stored in the IGArtPage Object for the mark. After the change has been made, ModifyNotify Event is raised.

Syntax:

Sub PreModifyNotify(pPage As IGArtPage, MarkIndex As Long,
MarkType As Long, Reason As Long, ModifyFlag As
IGArtEventParams)

Parameters:

Name Description
pPage The IGArtPage Object in which the mark is being modified.
MarkIndex The index of the mark that is being modified.
MarkType The type of the new mark - an enumIGArtMarkType Enumeration value. Note that there is no markSelect type mark - that value is used to identify the Select button on the ToolBar.
Reason The reason that PreModifyNotify Event has been raised - an enumIGArtModifyReason Enumeration value.
ModifyFlag Your event handler should set longParam member of IGArtEventParams Class to 1 to tell ImageGear to record the changes, or set it to 0 to tell ImageGear to not.

Sample:

None

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback