Skype:TextControlSupport
Orders:877-462-4772
TX Text Control - word processing components.
What is this?Syndicate this content

Drawing Text Frames using the Mouse

This source code snippet requires TX Text Control .NET
Author:TX Text Control Support Department
Language:Visual Basic .NET
Version:1.0
Released:August 06, 2005
Last modified:January 11, 2008
Requirements:TX Text Control .NET with Visual Basic .NET
Download code:tx_dotnet_frames_draw.zip Download [8.2 KB, ZIP]
Click to enlarge

Sophisticated word processing applications requires a user-friendly interface. Sometimes, it is required that the user is able to draw text frames directly on the document.

TX Text Control does not provide a built-in interface to draw the text frames, but it is really simple to use a Panel control to simulate such behavior. By clicking on the menu item, the cursor switches to a cross hair which indicates that a text frame can be drawn.

By clicking somewhere in the document, the user can start to draw the frame to its desired size.

When the mouse button is released, the shape control will be replaced by a text frame at the same position and with the same size.

You can download the fully functional sample project for Visual Basic .NET to test this sample application for yourself. The minimum requirements for this sample application are TX Text Control .NET trial version and Visual Studio .NET 2003.

top

Top 10 Bestselling Product Award 2007Top 25 Publisher Product Award 2007Top 10 Bestselling Product Award 2007 in JapanTop 25 Bestselling Product Award 2006Top 25 Bestselling Publisher Award 2006Reader's Choice Award, dot.net magazin, 3rd place