Click here to Skip to main content
15,912,493 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionProblem in break point Pin
rinku soni 2321-Jul-09 1:28
rinku soni 2321-Jul-09 1:28 
AnswerRe: Problem in break point Pin
Baran M22-Jul-09 22:56
Baran M22-Jul-09 22:56 
Questionhow to change DataGridViewLinkColumn text property forselected row only ?? Pin
TARAK NATH ROY20-Jul-09 23:12
TARAK NATH ROY20-Jul-09 23:12 
AnswerRe: how to change DataGridViewLinkColumn text property forselected row only ?? Pin
Jack Vanderhorst23-Jul-09 16:15
Jack Vanderhorst23-Jul-09 16:15 
QuestionCrystal report print error when canceled by user Pin
Rakesh.tecnics20-Jul-09 11:18
Rakesh.tecnics20-Jul-09 11:18 
QuestionHow to get DPI Scaling number within .NET Framework [modified] Pin
fjparisIII20-Jul-09 6:17
fjparisIII20-Jul-09 6:17 
AnswerRe: How to get DPI Scaling number within .NET Framework Pin
Jimmanuel20-Jul-09 6:38
Jimmanuel20-Jul-09 6:38 
GeneralRe: How to get DPI Scaling number within .NET Framework Pin
fjparisIII20-Jul-09 7:40
fjparisIII20-Jul-09 7:40 
Ah, I should have mentioned that this is a WPF application, not a Forms application. Last time I posted a question in the WPF forum I was castigated for posting a general .NET question in the wrong forum, when I thought it was a WPF question. Damned if you do and damned if you don't.

There are classes in WPF that return properties, DpiX and DpiY, such as BitmapImage, but those are the DPI x and y of particular bitmaps. I tried with a JPEG image I had lying around and it returned 300, which was a property of the bitmap, not the DPI Scaling number that the user has set up for his entire system.

I looked around and couldn't find a WPF equivalent to the CreateGraphics() call that your example gives.

Well, I guess I'll post my question on the WPF forum.
GeneralRe: How to get DPI Scaling number within .NET Framework Pin
Luc Pattyn20-Jul-09 8:33
sitebuilderLuc Pattyn20-Jul-09 8:33 
GeneralRe: How to get DPI Scaling number within .NET Framework Pin
fjparisIII20-Jul-09 12:05
fjparisIII20-Jul-09 12:05 
GeneralRe: How to get DPI Scaling number within .NET Framework Pin
Luc Pattyn20-Jul-09 12:13
sitebuilderLuc Pattyn20-Jul-09 12:13 
GeneralRe: How to get DPI Scaling number within .NET Framework Pin
fjparisIII20-Jul-09 13:20
fjparisIII20-Jul-09 13:20 
GeneralRe: How to get DPI Scaling number within .NET Framework Pin
Luc Pattyn20-Jul-09 13:51
sitebuilderLuc Pattyn20-Jul-09 13:51 
GeneralRe: How to get DPI Scaling number within .NET Framework Pin
fjparisIII20-Jul-09 14:03
fjparisIII20-Jul-09 14:03 
GeneralRe: How to get DPI Scaling number within .NET Framework Pin
Luc Pattyn20-Jul-09 14:09
sitebuilderLuc Pattyn20-Jul-09 14:09 
GeneralRe: How to get DPI Scaling number within .NET Framework [modified] Pin
fjparisIII20-Jul-09 14:36
fjparisIII20-Jul-09 14:36 
AnswerRe: How to get DPI Scaling number within .NET Framework Pin
Luc Pattyn20-Jul-09 7:04
sitebuilderLuc Pattyn20-Jul-09 7:04 
GeneralRe: How to get DPI Scaling number within .NET Framework Pin
fjparisIII20-Jul-09 8:40
fjparisIII20-Jul-09 8:40 
GeneralRe: How to get DPI Scaling number within .NET Framework Pin
Luc Pattyn20-Jul-09 8:48
sitebuilderLuc Pattyn20-Jul-09 8:48 
GeneralRe: How to get DPI Scaling number within .NET Framework Pin
fjparisIII20-Jul-09 12:13
fjparisIII20-Jul-09 12:13 
GeneralRe: How to get DPI Scaling number within .NET Framework Pin
Luc Pattyn20-Jul-09 12:32
sitebuilderLuc Pattyn20-Jul-09 12:32 
GeneralRe: How to get DPI Scaling number within .NET Framework Pin
fjparisIII20-Jul-09 13:31
fjparisIII20-Jul-09 13:31 
GeneralRe: How to get DPI Scaling number within .NET Framework Pin
Luc Pattyn20-Jul-09 14:00
sitebuilderLuc Pattyn20-Jul-09 14:00 
AnswerRe: How to get DPI Scaling number within .NET Framework Pin
Luc Pattyn20-Jul-09 11:42
sitebuilderLuc Pattyn20-Jul-09 11:42 
AnswerRe: How to get DPI Scaling number within .NET Framework (SOLVED) Pin
fjparisIII21-Jul-09 11:16
fjparisIII21-Jul-09 11:16 

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.