Click here to Skip to main content
15,898,984 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: WPF Set FontWeight From Trigger Pin
Pete O'Hanlon27-Jun-12 7:00
mvePete O'Hanlon27-Jun-12 7:00 
Questionhow to create graph in wpf Pin
santy143all24-Jun-12 22:26
santy143all24-Jun-12 22:26 
AnswerRe: how to create graph in wpf Pin
Richard MacCutchan24-Jun-12 22:54
mveRichard MacCutchan24-Jun-12 22:54 
AnswerRe: how to create graph in wpf Pin
Abhinav S25-Jun-12 0:52
Abhinav S25-Jun-12 0:52 
AnswerRe: how to create graph in wpf Pin
Unnikrishnan_S_N3-Jul-12 2:21
Unnikrishnan_S_N3-Jul-12 2:21 
QuestionWhat I should do to not Validate form First time? Pin
wasimsharp24-Jun-12 18:42
wasimsharp24-Jun-12 18:42 
AnswerRe: What I should do to not Validate form First time? Pin
Abhinav S24-Jun-12 20:02
Abhinav S24-Jun-12 20:02 
QuestionRender WPF Control to Image in Console App Pin
#realJSOP24-Jun-12 12:18
professional#realJSOP24-Jun-12 12:18 
I'm working on some code that will ultimately be used in a Windows service, but right now it's in a console app for easier development.

I want to render a WPF TextBlock control to an image. I'm trying to use RenderTargetBitmap, and it's creating a png file on the expected dimensions, but the file is empty (well, it's 2K in size, but there's nothing in it).

Can anyone tell me how to do what I'm trying to do?
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997


AnswerRe: Render WPF Control to Image in Console App Pin
Abhinav S24-Jun-12 20:09
Abhinav S24-Jun-12 20:09 
GeneralRe: Render WPF Control to Image in Console App Pin
#realJSOP25-Jun-12 0:30
professional#realJSOP25-Jun-12 0:30 
GeneralRe: Render WPF Control to Image in Console App Pin
#realJSOP25-Jun-12 3:13
professional#realJSOP25-Jun-12 3:13 
GeneralRe: Render WPF Control to Image in Console App Pin
Abhinav S25-Jun-12 3:22
Abhinav S25-Jun-12 3:22 
GeneralRe: Render WPF Control to Image in Console App Pin
#realJSOP25-Jun-12 6:23
professional#realJSOP25-Jun-12 6:23 
GeneralRe: Render WPF Control to Image in Console App Pin
Pete O'Hanlon25-Jun-12 3:28
mvePete O'Hanlon25-Jun-12 3:28 
GeneralRe: Render WPF Control to Image in Console App Pin
#realJSOP25-Jun-12 6:23
professional#realJSOP25-Jun-12 6:23 
GeneralRe: Render WPF Control to Image in Console App Pin
#realJSOP25-Jun-12 3:49
professional#realJSOP25-Jun-12 3:49 
AnswerRe: Render WPF Control to Image in Console App Pin
JOAT-MON25-Jun-12 9:17
JOAT-MON25-Jun-12 9:17 
GeneralRe: Render WPF Control to Image in Console App Pin
#realJSOP26-Jun-12 4:04
professional#realJSOP26-Jun-12 4:04 
GeneralRe: Render WPF Control to Image in Console App Pin
JOAT-MON26-Jun-12 9:16
JOAT-MON26-Jun-12 9:16 
QuestionVirtualizationMode="Recycling" Issue And Hackish Fix?? Pin
FocusedWolf22-Jun-12 18:24
FocusedWolf22-Jun-12 18:24 
AnswerRe: VirtualizationMode="Recycling" Issue And Hackish Fix?? Pin
FocusedWolf23-Jun-12 8:43
FocusedWolf23-Jun-12 8:43 
Questiondefault content for custom control Pin
Silent Winter20-Jun-12 1:58
Silent Winter20-Jun-12 1:58 
AnswerRe: default content for custom control Pin
Wayne Gaylard20-Jun-12 2:28
professionalWayne Gaylard20-Jun-12 2:28 
GeneralRe: default content for custom control Pin
Silent Winter20-Jun-12 3:40
Silent Winter20-Jun-12 3:40 
GeneralRe: default content for custom control Pin
Wayne Gaylard20-Jun-12 4:14
professionalWayne Gaylard20-Jun-12 4: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.