dpi
Calculating image size in inches or dpi from pixels using php
I need t开发者_StackOverflow社区o calculate an approximate image size in inches assuming 300dpi.[详细]
2023-01-26 09:47 分类:问答WPF fails in XP with 120 DPI, but not with 96 DPI
This is odd.I have a WPF application that works just fine in XP when the DPI is set to 96, but it fails with it set to 120.I tried this on two separate XP machines with the same results.[详细]
2023-01-26 04:28 分类:问答how to draw N lines per inch?
my code below is supposed to display N lines per inch. instead i get a little more than N lines per inch. the distance between lines is somewhat smaller. in addition, changing the screen resolution ma[详细]
2023-01-26 03:50 分类:问答IsProcessDPIAware always returns true
Running the following in a default unmodified project created in Visual Studio 2005 displays the \"yes\" message box in both vista and windows 7. Does anyone know why? Is开发者_如何学编程ProcessDPIAwa[详细]
2023-01-25 03:04 分类:问答How to determine what bitmap resource was loaded (ldpi, mdpi, or hdpi)?
I have created 开发者_开发问答multiple bitmaps - one for each folder (mdpi, hdpi, ldpi). Can someone show me some code or point me to the appropriate method that will allow me to detect which resource[详细]
2023-01-24 20:36 分类:问答CComboBoxEx problems with different DPI, height calculation
I want to add a CComboBoxEx on my form, but I have to align it with other controls and makeit the same height.[详细]
2023-01-23 17:13 分类:问答Can I Tell Visual Studio not to Change the DPI of a Project?
I have a project converted from .NET 1.1 to 3.5 being developed in 2008. If I open the project on Windows 7, it converts the size of everything to 120dpi sizes.If I then open it with 96 dpi it change[详细]
2023-01-23 15:27 分类:问答UI layout nightmare with WinAPI
I would like to know what should I do with GUI layout under WinAPI/MFC. In the ideal world I should just create the form/dialog via resource edi开发者_如何学Ctor, and everything should just work. In[详细]
2023-01-23 00:04 分类:问答Creating a DPI-Aware Application
I have a form application in C#. When I change the monitor\'s DPI, all the controls move. I used the code this.AutoScaleMode = AutoScaleMode.Dpi, but it didn\'t avoid the problem.[详细]
2023-01-22 20:29 分类:问答C# WinForms disable DPI scaling
I have a WinForm application which hosts many images. When I put the application on a Win7 machines th开发者_运维百科at has a DPI of 120, it completely ruins the look of the form. Is there a way to di[详细]
2023-01-21 13:19 分类:问答