473,779 Members | 1,952 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Smoothing Application (Antialias)

Hello,

I want to display all the text in my application in antialias-mode (Only my application!).
I can overwrite theOnPaint-Events of all Controls to enable antialias with:

Protected Overrides Sub OnPaint(ByVal e As System.Windows. Forms.PaintEven tArgs)
e.Graphics.Text RenderingHint = System.Drawing. Text.TextRender ingHint.ClearTy peGridFit
MyBase.OnPaint( e)
End Sub

I'm searching for a solution for the whole application without subclassing every control!
Greets

Ramon Furer

Nov 21 '05 #1
0 968

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
6297
by: David Lindgren | last post by:
Hello! I am using Graphics.DrawString to draw some text on my usercontrols and I have discovered that when I turn on edge smoothing in Windows XP some of my drawn text appears as if it was bold. Not all text is affected though. It seems that only text that is drawn on a transparent surface (Bitmap) gets messed up. For better understandning of my problem take a look at these screenshots:
1
3274
by: Austin Jan | last post by:
Hello, When I use Graphics.DrawImage() draw specified image to bigger size, I found that the output image's edge smoothing, In other words output image's edge have different color. Can I disable it effect? I just want to get same color and different size image. Thanks,
6
20087
by: orekin | last post by:
Hi There I have been trying to come to grips with Application.Run(), Application.Exit() and the Message Pump and I would really appreciate some feedback on the following questions .. There are quite a few words in this post but the questions are actually quite similar and should be fairly quick to answer ... (1) What is Happening with the Threads
8
1777
by: pcnerd | last post by:
I'm a VB.NET "newbie". I want to use AntiAlias, but every thing that I try the compiler doesn't like. Sometimes it will suggest a change, but when I change it, it doesn't like that either! Weird! I can't win! So far, I have "Dim objSmoothing AS System.Drawing.Drawing2D.SmoothingMode.AntiAlias". On the next line I have "objSmoothing =" No matter what I try after the equals sign, the compiler doesn't like it! So, what do I put after...
1
3775
by: j.f.c.neves | last post by:
Hello, I need some help in using the rlft3 (Numerical Recipes in c++ book, Chapter 12) to apply a Gaussian smoothing to a 2D image. How do I create a suitable filter function (page 535)? Thanks, Joao
0
2292
by: Rune Zedeler | last post by:
Not sure whether this is the right group. Help on that appreciated as well. I need to draw lines in subpixelprecision. Downscaling the canvas from Graphics2D should imho do that. The program import java.awt.*; import javax.swing.*; public class TestGfx2D extends JPanel {
2
3073
by: Peted | last post by:
Are there any options to enable an antialias function on standard winform controls ? things like the displayed text on buttons , radio buttons and other standard controls look a bit jagged and stuff, is it possible to antialis the text that gets entered into the text property of the controls ?
0
1357
by: Alexander Vasilevsky | last post by:
Can to disable/enable smoothing font in the WPF? http://www.alvas.net - Audio tools for C# and VB.Net developers
2
1447
by: Joe Butler | last post by:
Is it possible to determine with javascript or other means if the user has any sort of font-smoothing in effect on their os or ua? Serif'd fonts don't look so nice on non-smoothed systems, so, i'd rather switch to plain old Arial... The idea is to detect this fact and then alter the font/s that are used to display a website via javascript - modifying the dom tree, I guess. Thanks,
0
9636
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9474
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10138
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10074
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8961
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6724
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5503
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3632
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2869
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.