ImageGear22.Art Assembly > ImageGear.ART Namespace > ImGearARTPage Class > AddMark Method : AddMark(ImGearARTMark,ImGearARTCoordinatesType,Int32) Method |
'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 )
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.