Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Apr 2014

    How to work with MultiScaleImage Source?

    My aim is: after user click on an url, it'll download all images and show the first image and user can pan left, right to view others image. It's seem that control MultiScaleImage is the best control that I can use but I can't find any good example about this. All example is load only 1 image or load image from output.xml, but they didn't provide format for that file. I'm trying to parse a collection to source but I can't get it work
    XAML: <MultiScaleImage Name="msi"/>
    ImageFile myImage = new ImageFile();
    List<ImageFile> lst = new List<ImageFile>();
    msi.Source = lst;
    Error show: Cannot implicitly convert type 'System.Collections.Generic.List<ImageFile>' to 'System.Windows.Media.MultiScaleTileSource'
    Searching with MultiScaleTileSource seems no use too

    How can I fix this or make MultiScaleImage work? Any suggestion about my work: change control, change my method, use third party control...?
    Thank you

  2. #2
    Regular Contributor
    Join Date
    Nov 2011
    la bouexiere, france

    Re: How to work with MultiScaleImage Source?

    To use MultiSCaleImage, you need to inplement a MultiScaleTileSource which translate zoom,tile_X,tile_y coordinate to an url.

    So, it's MultiScaleImage which will download tile. I don't know if a multiscalesource can return bitmap instead of url. documentation say you should return string url.
    Windows 8, Windows phone 8 or Nokia Asha developer? Go to DVLUP

  3. #3
    Nokia Developer Champion
    Join Date
    Mar 2013

    Re: How to work with MultiScaleImage Source?

    Does MultiScaleImage support local URIs that point to Isolated Storage? In that case pictures could be downloaded there and the URIs pointing to those images could be used as source.

Similar Threads

  1. file browser.sis work mine doesnot work???!!
    By programer_asal in forum Symbian
    Replies: 6
    Last Post: 2009-07-13, 14:42
  2. Replies: 1
    Last Post: 2007-03-01, 02:21
  3. Replies: 0
    Last Post: 2007-02-28, 07:38
  4. BLDMAKE doesn't work for downloaded source!
    By hoopsman in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2003-10-10, 10:58

Posting Permissions

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