Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6606853
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T19:26:24+00:00 2026-05-25T19:26:24+00:00

I’ve noticed that when you copy a range in excel (copy as a picture

  • 0

I’ve noticed that when you copy a range in excel (copy as a picture – as shown on screen) and paste it into PowerPoint, the resulting image is not scaled 100% to the original image (right click on image, go to format settings and go to size to see scale info).

In addition, this scaling differs on different computers (might be related to graphics card). If you have different versions of Office the scaling also differs per computer (i.e. in Office 03, scaling is 100% of original, in Office 07, Scaling is ~75% of original for both height and width <—these values may differ on your own computer).

Is there some rhyme and reasoning to how these scalings are determined internally by Office? I ask because I am automating this copy+paste feature through c# (using the interop stuff). I use the CopyAsPicture method to get the height x width of the range selected and save the image as an .emf file. I then load the image into a PowerPoint shape using the dimensions I stored earlier as the dimensions of the shape. It pastes it in without an error, but when I compare it to a native ctrl+c and ctrl+v of excel’s paste as picture, the size is different. I’ve concluded it is because of this weird scaling issue.

As an aside, in c#, if you tell some shape to be 100×100 in size, and insert it (using AddPicture method of shapes), it won’t actually be 100×100 in PowerPoint. If you then copy and paste that image into paint to see the dimensions, it’ll be something entirely different (for my machine, it upscales it by 135%).

Anyone got any idea what is going on? Or how office decides these scaling issues?

Thanks,
Shark

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T19:26:24+00:00Added an answer on May 25, 2026 at 7:26 pm

    I figured out a flaw in my logic: instead of looking at scaling, I should’ve looked at absolute size. One one of the things I noticed was that regardless of the scaling, the size of the pasted image through the native copy and paste was consistent throughout all the versions of office on all machines. With further analysis, I discovered that the size was determined in two ways:

    1) If you selected “copy as image” with the setting for “as shown on screen”, I divided the image’s height and width (in pixels) by 96 (dpi) to get the size of the image in inches. I believe this DPI is the default value the Office uses. Then to get it into dots, I needed to multiply this image by 72, since I needed to convert it into the unit that PowerPoint expects on the insert operation. After doing this, the image through my code matched that of the native procedure.

    2) If you had selected “as shown when printed” option, my original method worked as we discussed above using the metafiles resolution’s to help get the size.

    Summary:

    For As Shown On Screen

    x = (metafile.height / 96) * 72
    
    y = (metafile.width / 96) * 72
    

    For As Shown When Printed

    x = (metafile.height / metafile.HorizontalResolution) * 72
    
    y = (metafile.height / metafile.VerticalResolution) * 72
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a French site that I want to parse, but am running into
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I need a function that will clean a strings' special characters. I do NOT
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I used javascript for loading a picture on my website depending on which small
this is what i have right now Drawing an RSS feed into the php,
I've got a string that has curly quotes in it. I'd like to replace
I am currently running into a problem where an element is coming back from
I'm trying to create an if statement in PHP that prevents a single post

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.