Powered by MSDN

US - English
NEW! Silverlight 5 is available Learn More

  • SharpGIS

    SharpGIS

    Contributor

    4825 Points

    832 Posts

    Re: Re: WriteableBitmap - Any to way use it for printing, at least indirectly

    May 12, 2009 04:47 AM | LINK

    Been tinkering some more and getting closer, however this approach doesn't seem to work for IE6 and 7, without an extra serverside component. Are you cool with that?
    And as I mentioned this will require SL3 RTW which isn't out yet, unless you can do with either Joe Stegmans bitmap API (http://blogs.msdn.com/jstegman/archive/2008/04/27/updated-png-generator-sample.aspx) for SL2 or the current SL3 Writeable bitmap WITHOUT using render*, meaning that for both cases, you can only use the lowlevel SetPixel(x,y,color).
    I should have this written up nicely by tomorrow night (PST), but to give you a hint, this is what I'm using: http://www.websiteoptimization.com/speed/tweak/inline-images/

    *calling Render() prevents you from getting to the individual pixels in the current beta, but the SL team promised that that limitation is being removed.
    --
    /Morten | Silverlight MVP | blog - twitter
    Please click on "Mark as Answer" if this answered your question.