How to resize image after pasteclip command

How to resize image after pasteclip command

Anonymous
Not applicable
1,268 Views
1 Reply
Message 1 of 2

How to resize image after pasteclip command

Anonymous
Not applicable

I have the following code to paste an image from the clipboard:

 

AcadDocument doc = acadApp.Documents.Open(filePath, false);

doc.Activate();

Clipboard.SetImage(imagePath);

doc.SendCommand("_oleframe 0 ");

doc.SendCommand("_pasteclip 767, 95 ");

 

Issue I am having is that if resize image down before copy badly affects pixilation of my image, however, if clip the image on the drawing after pasting the image is OK, however, I need do do this via a command so can do this through code using doc.SendCommand, is there a way for me to achieve this?

0 Likes
1,269 Views
1 Reply
Reply (1)
Message 2 of 2

Ed__Jobe
Mentor
Mentor

You don't provide enough information for us to reproduce your problem. What are you doing to "resize image down" and "clip" ?

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

0 Likes