Ramya
Ramya

Reputation: 611

zooming in silverlight

I have created a 3D structure(basically an image) dynamically using kit3D.However,I wanted to zoom only a small segment of the whole structure.My entire image is loaded altogather at a time,so I am not considering using deep zoom. Is there anyway where I can zoom only a part of a dynamically generated image in silverlight??

Thank you, Ramya

Upvotes: 0

Views: 924

Answers (4)

Steve Strong
Steve Strong

Reputation:

there is an example of use silverlight 3 and Virtual Earth on http://www.silverenlightenment.com/

Upvotes: 0

Jon Galloway
Jon Galloway

Reputation: 53115

I'd use a MultiScaleTileSource for that. It's a callback based system - it requests Deep Zoom tiles from a function you implement when the user zooms or pans.

Here's some sample code, and here's a full working example that pulls map tiles dynamically from Virtual Earth.

Upvotes: 0

Ian Blackburn
Ian Blackburn

Reputation: 166

You can use a Scale RenderTransform to increase the size of the image, then use a clip to only show one part of it, thus giving the effect of zoom.

Alternatively you can use a ViewBox from the Silverlight toolkit

Upvotes: 1

MMind
MMind

Reputation: 1915

This example may be helpful.

Upvotes: 0

Related Questions