devxlogo

February 17, 2003

Measuring a string drawn with a specific font

When you’re dynamically drawing text (either on a Windows Form or Web Form application), you may need to calculate the width and height of a string printed with a particular

Linking a file in Visual Studio .NET

If in VS.NET you add to the current project an existing file that’s located outside the current project’s directory, the file is first copied in the project’s directory, and then

Dynamically moving a server control

Dynamically moving a server control instance on the page is very easy, thanks to the possibility to add any style attribute to the control. In this case, you can dynamically