Click here to Skip to main content
15,921,793 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: WPF save button Pin
Mark Salsbery4-Jan-09 6:21
Mark Salsbery4-Jan-09 6:21 
I don't know about the sample code in the second link, but I imagine the stream
created there will work as well.

If you use the sample dialog code in your first link to get the pathname of the file to
save, you should be able to use that pathname in the code at this link:

JpegBitmapEncoder Class[^]

Scroll down to "This example demonstrates how to encode a BitmapSource
into a JPEG image using a JpegBitmapEncoder.
".

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

Questionback ground color change inGrid Pin
member272-Jan-09 20:13
member272-Jan-09 20:13 
Questionsilverlight Pin
vkvimal2-Jan-09 18:51
vkvimal2-Jan-09 18:51 
AnswerRe: silverlight Pin
Timmy Kokke5-Jan-09 1:27
Timmy Kokke5-Jan-09 1:27 
AnswerRe: silverlight Pin
Mohammad Dayyan8-Jan-09 10:51
Mohammad Dayyan8-Jan-09 10:51 
GeneralRe: silverlight Pin
vkvimal10-Jan-09 19:05
vkvimal10-Jan-09 19:05 
GeneralRe: silverlight Pin
Mohammad Dayyan10-Jan-09 23:36
Mohammad Dayyan10-Jan-09 23:36 
GeneralRe: silverlight Pin
vkvimal23-Jan-09 18:55
vkvimal23-Jan-09 18:55 
Questionrotate an arrow using silverlight Pin
priyagee2-Jan-09 1:13
priyagee2-Jan-09 1:13 
AnswerRe: rotate an arrow using silverlight Pin
Michael Sync29-Jan-09 2:42
Michael Sync29-Jan-09 2:42 
QuestionTo Create Button Template Storyboard Pin
Member 58061221-Jan-09 18:29
Member 58061221-Jan-09 18:29 
AnswerRe: To Create Button Template Storyboard Pin
Lev Danielyan5-Jan-09 20:57
Lev Danielyan5-Jan-09 20:57 
QuestionPlay QuickTime video file Using WPF Pin
Khan Firoz30-Dec-08 4:12
Khan Firoz30-Dec-08 4:12 
AnswerRe: Play QuickTime video file Using WPF Pin
ColinM12330-Dec-08 11:17
ColinM12330-Dec-08 11:17 
Questiond:LayoutOverrides="Height" ? Pin
Mohammad Dayyan30-Dec-08 2:12
Mohammad Dayyan30-Dec-08 2:12 
AnswerRe: d:LayoutOverrides="Height" ? Pin
Mark Salsbery30-Dec-08 6:00
Mark Salsbery30-Dec-08 6:00 
QuestionHow to create a custom knob control in WPF XMAL ? Pin
dman1000129-Dec-08 7:31
dman1000129-Dec-08 7:31 
AnswerRe: How to create a custom knob control in WPF XMAL ? Pin
User 27100929-Dec-08 13:18
User 27100929-Dec-08 13:18 
GeneralRe: How to create a custom knob control in WPF XMAL ? Pin
Jammer5-Jan-09 6:15
Jammer5-Jan-09 6:15 
GeneralRe: How to create a custom knob control in WPF XMAL ? Pin
User 2710095-Jan-09 6:41
User 2710095-Jan-09 6:41 
QuestionHow do I add more than 1 style to a TextBox? Pin
Vipul Mehta28-Dec-08 23:50
Vipul Mehta28-Dec-08 23:50 
AnswerRe: How do I add more than 1 style to a TextBox? Pin
Jammer29-Dec-08 3:47
Jammer29-Dec-08 3:47 
AnswerRe: How do I add more than 1 style to a TextBox? Pin
Pete O'Hanlon29-Dec-08 9:51
mvePete O'Hanlon29-Dec-08 9:51 
GeneralRe: How do I add more than 1 style to a TextBox? Pin
User 27100929-Dec-08 13:19
User 27100929-Dec-08 13:19 
GeneralRe: How do I add more than 1 style to a TextBox? Pin
Jammer5-Jan-09 6:14
Jammer5-Jan-09 6:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.