+ Reply to Thread
Results 1 to 3 of 3

Image saved from inkpicture userform changing size

  1. #1
    Registered User
    Join Date
    04-15-2014
    Location
    Melbourne, Australia
    MS-Off Ver
    Office 365
    Posts
    49

    Image saved from inkpicture userform changing size

    Hi,
    I have a userform that imports a picture that has been taken via camera (on board in the case of a tablet).
    the picture is displayed inside n inkpicture control, so the user can add notes or drawings to the photo.

    The issue is to make the image easily viewable I have made the Inkpicture control large and set the properties to stretch image to fit the control.

    However when the user selects the confirm photo control button the image is saved, with the ink strokes, BUT the strokes don't align with the photo anymore. I think the photo is saved in the original resolution, but the ink strokes are saved in the areas they sit in the ink picture control.
    Code below and two screen shots to help illustrate, (Hopefully).

    I would like to have the image save the ink strokes in the correct locations, while keeping the properties as they are, otherwise the image is hard to see in the userform.

    Thanks in advance,
    Brad.

    First how the image looks in userform I have added the black lines onto the image, hopefully the image will help show the issue
    The second image is the same after saving the inkpicture image, as you can see the black lines are no longer aligned to where they were.
    uSERFORM CAPTURE.JPG

    save file capture.JPG

    This is the code to save the image,

    Please Login or Register  to view this content.

  2. #2
    Registered User
    Join Date
    04-15-2014
    Location
    Melbourne, Australia
    MS-Off Ver
    Office 365
    Posts
    49

    Re: Image saved from inkpicture userform changing size

    Hi,
    Lots of views no replies,
    Is the problem my description of what I'm asking, can I clarify anything?

    Or is this something no one has looked into?

    Thank you all,
    Brad

  3. #3
    Registered User
    Join Date
    12-23-2013
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: Image saved from inkpicture userform changing size

    I've got a similar problem and haven't find a good answer. I've been trying to leverage what I have seen on these two boards
    - https://stackoverflow.com/questions/...-an-image-file
    - http://www.c-sharpcorner.com/article...ol-in-C-Sharp/

    If you get a resolution to this, please let me know. Likewise If I get to solve this within VBA and using excel I'll post the resolution here.

    Thanks

    Jon

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Show UserForm InkPicture in Sheet
    By nickwoowoo in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-26-2017, 02:28 AM
  2. Changing the size of a userform
    By j_Southern in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-29-2014, 08:25 AM
  3. Replies: 0
    Last Post: 05-05-2014, 02:12 AM
  4. Cell Comment Image changing size on its own
    By topaz99 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-02-2014, 12:28 PM
  5. Dates changing from userform when saved
    By BJ5352 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-08-2011, 03:20 AM
  6. Calendar in UserForm changing size
    By kvo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-02-2007, 07:07 PM
  7. [SOLVED] Screen flicker when changing Image.Picture source on UserForm
    By Paul Martin in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-22-2005, 10:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1