Advanced Forum Search Results
-
Here is another way:
Image x = new Image();
public MainPage()
{
InitializeComponent();
myButton.Content = x;
WebClient webClientImgDownloader = new WebClient();
webClientImgDownloader.OpenReadCompleted += new OpenReadCompletedEventHandler
(webClientImgDownloader_OpenReadCompleted);
webClientImgDownloader.OpenReadAsync(new ...
-
I have not started using SL4 yet and probably won't for a while since I'm finishing up the SL3 version of my product and don't want to be distracted (but I'm very eager to start). There are, or soon will be plenty of sites with examples. You can start ...
-
I'm using Silverlight contrib (because it was easy) and then additionally I prune some of the null information by parsing the text.
It's not ideal, but it works. You can aslo modify the code to optimize it.
Tom
-
Yes, but the video refers to SL 4 (which is in beta) and only in OOB mode and only when the user elevates the trust level and only for files in certain directories (e.g. My Documents etc...).
This does not work in SL3. You can open a file in SL3 based on a user click event using a open file dialog.
Tom
-
Now I understand...
XAML Parser errors are difficult to debug, and what you are trying to do may not be possible, athough if it works for the built in effects, then it should work for custom ones...
You may want to try to define a custom visual state and handle that in ...
-
You need to include the namespace for your shader. Something like this:
xmlns:custom="clr-namespace:CustomShaderDemo">
and then refer to that namespace. Something like this:
...
-
You can get the cursor position using:
CurrentPoint = e.GetPosition(null);
and just use that or you can perform a hit test:
element.HitTest(e.GetPosition(null))
and look at the list of elements at that point
Tom
-
Here is a php script for doing that.
http://roshanbh.com.np/2008/07/getting-country-city-name-from-ip-address-in-php.html
Tom
-
dpi is pretty meaningless and somewhat obsolete, even expensive digital cameras produce 72 dpi images.
What you really need is ppi (pixels per inch) and 200 is sufficient for high quality printing.
To print at 8.5 x 11 inches make sure that you output your image at least 1700 by 2400 pixels (8.5X200 by 11x200).
Tom
-
It doesn't break the shader, it just starts looking like the stroke width is increasing relative to the font size as you scale down. I suppose you could make it more sofisticated and add a parameter to adjust the stroke thickness relative to the scale factor.
I do have one, but I'm not allowed to give it to ...