locked
Control Image size (Height, Width) in LightSwitch RRS feed

  • Question

  • Hi all.
    I use Image fields in my tables and when I load the image I need to control its size (height, width). How can I arrange this?

    thanks.

    Wednesday, October 12, 2011 12:19 PM

Answers

All replies

  • Hi Sergey

    If you need to change size of Image Editor by changings Width properties in Sizing serction:

    Hope this help

    Spaso Lazarevic

    • Proposed as answer by babloo1436 Wednesday, October 12, 2011 2:40 PM
    Wednesday, October 12, 2011 2:23 PM
  • Hi Spaso!

    Thanks for your reply!
    But this is somewhat different from that required (

    More information:
    > have a table
    > there is a picture

    when I load the image I need to check its size (width and height), if the picture does not meet the specified criteria me (like 200 * 200 pixels) to issue an error.

    problem is that all images are stored as a byte [] as a byte[] of physical dimensions do not know ((.

    Perhaps there are a standard means of LS that I just do not know, or methods that might help.



    Image Size
    Wednesday, October 12, 2011 2:57 PM
  • Hi Sergey

    Please go through the below link. May this will helpful to you.

    http://social.msdn.microsoft.com/Forums/en/lightswitch/thread/fbe8e265-ce86-4d3e-8f22-fc807d5af072


    Rashmi Ranjan Panigrahi
    Wednesday, October 12, 2011 3:44 PM
  • Thanks for your reply!
    That's exactly what I needed, was especially helpful response from WilliamStacey
    it works, thanks to all, the question is closed!)

    Image Size
    Friday, October 14, 2011 9:01 AM