ImageGear for .NET
MarkCut(ImGearARTMark) Method
Example 




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)
public void MarkCut( 
   ImGearARTMark mark
)
public: void MarkCut( 
   ImGearARTMark* mark
) 
public:
void MarkCut( 
   ImGearARTMark^ 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;
    }
}
' 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

Reference

ImGearARTPage Class
ImGearARTPage Members
Overload List
ImGearARTMark Class

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback