This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Thursday, September 28, 2006 1:15:13 PM(UTC)
Groups: Registered
Posts: 2
I'm trying to resize the canvas of an image. As in, I don't want to resize the actual image, but I want to increase the canvas size and have a black border around my image. Like in photoshop when you use the canvas size command. I can't seem to figure this out for some reason.
I'm using raster image pro .Net 14.5.
Thanks
#2
Posted
:
Saturday, September 30, 2006 10:34:52 PM(UTC)
Groups: Registered, Tech Support
Posts: 1,326
Was thanked: 1 time(s) in 1 post(s)
Hello,
You may try to do something like the resize canvas by using the following code (LEADTOOLS .Net) :
+--------------------+
//1. Resize the image viewer
rasterImageViewer1.Size = new Size(1000,1000);
//2. Center the image on the viewer
rasterImageViewer1.CenterMode = Leadtools.WinForms.RasterViewerCenterMode.Both;
+--------------------+
Please let me know if this helps.
Thanks,
Maen Badwan
LEADTOOLS Technical Support
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.