Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Monday, February 9, 2009 5:14:03 AM(UTC)

Walter  
Walter

Groups: Tech Support, Administrators
Posts: 311

Was thanked: 3 time(s) in 3 post(s)

This small demo illustrates how you can implement the common cut, copy, and paste methods into an application using the RasterClipboard. The cut and copy methods both copy the image data to the clipboard. but then the cut method will "delete" the image data being shown by filling it with a specific color. The paste method copies the data from the clipboard back to the shown image.

This demo has two different flavor of these methods; it uses them with regions and with the entire image. The demo will allow you to cut/copy a section of the image, and then paste that in any size on the image within the viewer.

This demo also illustrates how to use the RasterOpenDialog and RasterSaveDialog.

Language: C#
Compiler: Visual Stuio 2005
Toolkit: Leadtools 16
File Attachment(s):
CS_UsingClipboardDemo.zip (17kb) downloaded 137 time(s).
Walter Bates
Senior Support Engineer
LEAD Technologies, Inc.
LEAD Logo
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Friday, June 23, 2017 4:33:08 PM(UTC)

Walter  
Walter

Groups: Tech Support, Administrators
Posts: 311

Was thanked: 3 time(s) in 3 post(s)

Attached is an updated Visual Studio 2017 project using LEADTOOLS 19.

Before running this project, please extract it to the following directory:
C:\LEADTOOLS 19\Examples\posts\t6856

File Attachment(s):
CS_UsingClipboardDemo19.zip (13kb) downloaded 115 time(s).
Walter Bates
Senior Support Engineer
LEAD Technologies, Inc.
LEAD Logo
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2017, Yet Another Forum.NET
This page was generated in 0.141 seconds.