ImageMan.Net Version 3 Summer 2012 Release
AddMark Method
See Also  Send Feedback
DTI.ImageMan.Winforms Namespace > Annotation Class : AddMark Method





mark
The Mark to be added

Glossary Item Box

Adds a mark created via code to the Marks collection.

Syntax

Visual Basic (Declaration) 
Public Sub AddMark( _
   ByVal mark As IMark _
) 
Visual Basic (Usage)Copy Code
Dim instance As Annotation
Dim mark As IMark
 
instance.AddMark(mark)
C# 
public void AddMark( 
   IMark mark
)
JScript 
public function AddMark( 
   mark : IMark
);
Managed Extensions for C++ 
public: void AddMark( 
   IMark* mark
) 
C++/CLI 
public:
void AddMark( 
   IMark^ mark
) 

Parameters

mark
The Mark to be added

Remarks

This method must be used instead of adding the Mark using the Marks.Add() method so the annotation object can hook up the event handlers for the annotation object so it will function properly.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.