Click here to Skip to main content
15,891,811 members

Comments by Ashish Rathod (Top 8 by date)

Ashish Rathod 7-Jan-13 8:00am View    
public Byte[] BufferFromImage(BitmapImage imageSource)
{
Stream stream = imageSource.StreamSource;
Byte[] buffer = null;
if (stream != null && stream.Length > 0)
{
using (BinaryReader br = new BinaryReader(stream))
{
buffer = br.ReadBytes((Int32)stream.Length);
}
}

return buffer;
}

How can i find image source from image control because i have not save image in file directory
Ashish Rathod 4-Jan-13 0:37am View    
No it is correct and any help please let me know.
Ashish Rathod 29-Dec-12 6:09am View    
If i click HOME then this tag is active and color is changed but when i click next tag like SHOP then this tag is active not HOME tag is active so SHOP tag color changed not HOME.
Ashish Rathod 29-Dec-12 5:43am View    
If i click HOME then this tag is active and color is changed but when i click next tag like SHOP then this tag is active not HOME tag is active so SHOP tag color changed not HOME.
Ashish Rathod 15-Dec-12 4:33am View    
Thanks for the help :)