ImageGear .NET - Updated August 31, 2018
MarkCut(ImGearARTMark) Method
Example 




ImageGear24.Art Assembly > ImageGear.ART Namespace > ImGearARTPage Class > MarkCut Method : MarkCut(ImGearARTMark) Method
Mark to cut.
Cuts the specified mark from the annotation page to the Windows clipboard.
Syntax
'Declaration
 
Public Overloads Sub MarkCut( _
   ByVal mark As ImGearARTMark _
) 
 
'Usage
 
Dim instance As ImGearARTPage
Dim mark As ImGearARTMark
 
instance.MarkCut(mark)

Parameters

mark
Mark to cut.
Remarks
The Clipboard API can only be used in threads set to single thread apartment (STA) mode.
Example
// Cut first mark found to be selected to the clipboard
foreach (ImGearARTMark igARTMark in igARTPage)
{
    if (igARTPage.MarkIsSelected(igARTMark))
    {
        igARTPage.MarkCut(igARTMark);
        break;
    }
}
See Also

Reference

ImGearARTPage Class
ImGearARTPage Members
Overload List
ImGearARTMark Class