Print a selected portion of an image
Print a selected portion of an image
I need to know how to print a section of an image. I currently use this method
ImageArea = oGdPictureImaging.CreateClonedGdPictureImageArea(m_ImageID, GdViewer1.GetRectLeftOnDocument, GdViewer1.GetRectTopOnDocument, GdViewer1.GetRectWidthOnDocument, GdViewer1.GetRectHeightOnDocument)
the problem with this method is that the image stays the same size as it is on the current image. I want to know if there is anyway I can blow up the image to make it more viewable. I realize that some pixelation could occur depending on the image itself, but most of our images pixelation wouldn't occur.
ImageArea = oGdPictureImaging.CreateClonedGdPictureImageArea(m_ImageID, GdViewer1.GetRectLeftOnDocument, GdViewer1.GetRectTopOnDocument, GdViewer1.GetRectWidthOnDocument, GdViewer1.GetRectHeightOnDocument)
the problem with this method is that the image stays the same size as it is on the current image. I want to know if there is anyway I can blow up the image to make it more viewable. I realize that some pixelation could occur depending on the image itself, but most of our images pixelation wouldn't occur.
Re: Print a selected portion of an image
Hi,
Your method is correct. However, I don't understand your problem with it. Could you try to explain it again ?
Kind regards,
Loïc
Your method is correct. However, I don't understand your problem with it. Could you try to explain it again ?
Kind regards,
Loïc
Re: Print a selected portion of an image
I think this might be what you are looking for (if I understand what you are asking):
dim iHeightPixel as integer = 5 * 300 'set to 5 inches at 300 dpi
oGdPictureImaging.ResizeHeightRatio(ImageArea , iHeightPixel, Drawing2D.InterpolationMode.HighQualityBicubic)
or use oGdPictureImaging.ResizeWidthRation or oGdPictureImaging.Resize - based on your needs.
(sorry, just realized that this was an old post...but maybe it will help someone else)
dim iHeightPixel as integer = 5 * 300 'set to 5 inches at 300 dpi
oGdPictureImaging.ResizeHeightRatio(ImageArea , iHeightPixel, Drawing2D.InterpolationMode.HighQualityBicubic)
or use oGdPictureImaging.ResizeWidthRation or oGdPictureImaging.Resize - based on your needs.
(sorry, just realized that this was an old post...but maybe it will help someone else)
Re: Print a selected portion of an image
Hum.. I think you got it John
I did not understand the problem in this way.
I did not understand the problem in this way.
Who is online
Users browsing this forum: No registered users and 1 guest