ImageGear for .NET
MarkCut(ImGearARTMark) Method
See Also  Example Send Feedback
ImageGear21.Art Assembly > ImageGear.ART Namespace > ImGearARTPage Class > MarkCut Method : MarkCut(ImGearARTMark) Method




mark
Mark to cut.

Glossary Item Box

Cuts the specified mark from the annotation page to the Windows clipboard.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

mark
Mark to cut.

Remarks

The Clipboard API can only be used in threads set to single thread apartment (STA) mode.

Example

C#Copy Code
// Cut first mark found to be selected to the clipboard
foreach (ImGearARTMark igARTMark in igARTPage)
{
    if (igARTPage.MarkIsSelected(igARTMark))
    {
        igARTPage.MarkCut(igARTMark);
        break;
    }
}
Visual BasicCopy Code
' Cut first mark found to be selected to the clipboard
For Each igARTMark As ImGearARTMark In igARTPage
    If igARTPage.MarkIsSelected(igARTMark) Then
        igARTPage.MarkCut(igARTMark)
        Exit For
    End If
Next

See Also

©2013. Accusoft Corporation. All Rights Reserved.