how do i transform inches to pixels and viceversa ? if it was c++ i'd use the device context functions lptodp and lptohimetric but i need a C# solution.
i need to resize some richtextboxes to an exact size(on screen). the thing is the size i need to set it to is in inches and i need pixels. normaly you would expect the graphics class to have such transformation functions because these depend on the dpi of the device context but unless i'm missing something i can't find them!!
i need to resize some richtextboxes to an exact size(on screen). the thing is the size i need to set it to is in inches and i need pixels. normaly you would expect the graphics class to have such transformation functions because these depend on the dpi of the device context but unless i'm missing something i can't find them!!