ImageGear for .NET
AddMark(ImGearARTMark,ImGearARTCoordinatesType,Int32) Method




Reference to the mark to add.
Type of the coordinate system the mark coordinates are specified in.
Index of the group to add the mark to.
Adds the specified mark into the annotation page group specified by index.
Syntax
'Declaration
 
Public Overloads Function AddMark( _
   ByVal mark As ImGearARTMark, _
   ByVal type As ImGearARTCoordinatesType, _
   ByVal groupIndex As Integer _
) As Integer
'Usage
 
Dim instance As ImGearARTPage
Dim mark As ImGearARTMark
Dim type As ImGearARTCoordinatesType
Dim groupIndex As Integer
Dim value As Integer
 
value = instance.AddMark(mark, type, groupIndex)
public int AddMark( 
   ImGearARTMark mark,
   ImGearARTCoordinatesType type,
   int groupIndex
)
public: int AddMark( 
   ImGearARTMark* mark,
   ImGearARTCoordinatesType type,
   int groupIndex
) 
public:
int AddMark( 
   ImGearARTMark^ mark,
   ImGearARTCoordinatesType type,
   int groupIndex
) 

Parameters

mark
Reference to the mark to add.
type
Type of the coordinate system the mark coordinates are specified in.
groupIndex
Index of the group to add the mark to.

Return Value

Integer value.
Remarks
You must specify the type of the mark's coordinate system. The mark will be drawn according to the type of its coordinate system.

Please make sure the mark does not have parent group (i.e. ImGearARTMark.ParentGroup is null), otherwise ImageGear.Core.ImGearException will be thrown. If the mark to be added already has parent group, please clone it prior to adding to the page.

See Also

Reference

ImGearARTPage Class
ImGearARTPage Members
Overload List
ImGearARTMark Class
ImGearARTCoordinatesType Enumeration

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback