Line Style Editor User Guide
Line Style Editor User Guide
Version 2.0
USER GUIDE
Information in this document is subject to change without notice and does not represent a commitment on the part of the vendor or its representatives. No part
of this document may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, without the written
permission of Pitney Bowes Software Inc., One Global View, Troy, New York 12180-8399.
© 2009 Pitney Bowes Software Inc. All rights reserved. Pitney Bowes Business Insight, MapInfo, Group 1 Software and Line Style Editor are trademarks of
Pitney Bowes Business Insight, a division of Pitney Bowes Software and/or its affiliates.
Americas:
Phone: (518) 285-6000
Fax: (518) 285-6070
Sales: (800) 327-8627
Government Sales: (800) 619-2333
Technical Support: (518) 285-7283
Technical Support Fax: (518) 285-6080
www.mapinfo.com
UK and EMEA:
Phone: +44(0) 1753 848200
Fax: +44(0) 1753 621140
Technical Support: +44(0) 1634 880141
www.mapinfo.co.uk
Asia Pacific:
Phone: 61. 2.9437.6255
Fax: 61.2.9439. 1773
Technical Support: 1800 648 899
www.mapinfo.com.au
Contact information for all Pitney Bowes Business Insight offices is located at:: http://www.mapinfo.com/contactus
Products named herein may be trademarks of their respective manufacturers and are hereby recognized. Trademarked names are used editorially, to the
benefit of the trademark owner, with no intent to infringe on the trademark.
June 2009
Table of Contents
User Guide 3
View Menu Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Window Menu Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Help Menu Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
In this chapter
What is the Line Style Editor?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
Installing the Line Style Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
Understanding the Line Style Editor . . . . . . . . . . . . . . . . . . . . . . . .6
Working with the Line Style Definition File . . . . . . . . . . . . . . . . . . .9
Working with Line Styles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
Working with Objects in a Line Style . . . . . . . . . . . . . . . . . . . . . . .12
Working with Layers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14
Frequently Asked Question. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15
Installing the Line Style Editor
A line style definition file (like Samples.Pen, which we use for this document) can contain one or
more line styles. Using the Line Style Editor you can add, modify, delete, and reorder the line style
definitions within the file. Each line style definition displays in the Line Style and the Region Style
dialog boxes in the order they appear in the line style definition file.
There can be multiple line style definition files, but the file MapInfo Professional primarily uses is
named MAPINFOW.PEN. The line styles you create or edit are available only when you re-open
your MapInfo product, because that is what prompts the program to read the mapinfow.pen file.
1. Click the Install Products and the Free Utilities option to display the Free Utilities list.
2. Click the Install Line Style Editor option to display the Installshield Selfextracting EXE dialog
box.
3. Click OK to begin the installation.
4. At the Welcome screen, click Next to display the Software License Agreement.
5. Click Yes to display the Choose Destination Location dialog box. Do one of the following:
• Click Next to accept the default file destination location and continue
• Click Browse and select the path to which you would like to install the Line Style Editor.
To install this product on the network or to select another drive click the Network button.
When you have finalized the path in the Path field, click OK to return to the Choose
Destination dialog box. Click NEXT to continue.
6. In the Select Program Folder dialog box, choose the MapInfo folder or type in a new folder name
in the Program Folders field. Click Next to begin the installation.
7. Click Finish to close the Setup Complete dialog box.
Figure: Figure: Line Style Editor Main Menu, Toolbar and Status Bar
1
2
Each layer in a line style definition can contain one or more objects. Objects are the elements that
make up a line, such as straight line segments, perpendicular line segments, angles, etc. Objects
can be grouped into two types:
• Draw line – Creates a horizontal line in your line style definition. You can control the length and
width of the line using the line options. You can only draw a line in one layer at a time. You can
double-click a Draw line Object to review and edit the line's properties.
User Guide 7
Understanding the Line Style Editor
• Angle tick mark – Creates left and right pointing angle marks that run perpendicular to the draw
line. You can directly specify the angle tick mark's starting point and how far from the center of
the line it extends in either direction. You can double-click an Angle Tick Mark object to review
and edit the mark's properties.
Figure: Figure: Angle Tick Examples
• Draw line to end – Extends the draw line to the end of the specified line. You can directly
specify the starting point and width of the line with a display attribute object. You can double-click
a Draw line to End Object to review the line's properties.
Figure: Figure: Draw to End Example
• Skip – Whenever there is a gap between one object and another in a layer, the Line Style Editor
automatically inserts a skip object for that gap. You must insert Skip to End Objects explicitly
when you want one. The Line Style Editor uses the skip objects implicitly.
• Skip to end – Displays the visible object in the current layer once, at the beginning of the line
and prevents that object from repeating.
• Loop – Inserts a moveable vertical line that specifies where the line should begin repeating. All
objects to the left of the line are static and display only at the beginning of the line. All objects to
the right of the line repeat until the end of the line style. To edit the position of this loop line,
double-click the line and enter a new position.
• Draw Tools Property – Allows you to specify the pen properties for the layer.
Figure: Draw Tools Property
Draw Tools Property attributes control how the line style in the current layer is drawn. It is
considered an object and not just a place holder for the attributes of other objects. A pen
property object placed before a loop object only affects those objects drawn before it encounters
another pen property object which can have different attributes. This is how you create different
colors in your line style. By default, MapInfo Professional draws the objects in a layer in the order
they appear and then repeats them from the beginning until the end of the line. Then it does the
same with any additional layers defined.
User Guide 9
Working with the Line Style Definition File
1. Open the line style file to which you want to add a line style.
2. In the Edit menu, select the New Line option. The Line Style Editor creates a new, blank line
and adds it to the end of the file. It also opens a new window for the new line style.
Note MapInfo Professional displays the line styles in the Line Style dialog box in the same
order that the Line Style Editor shows them here.
3. Click the Save tool to save the Line Style Definition file.
1. In the Line Style Definition File window, click the line style you want to delete.
2. Do one of the following:
• Press the Delete key
• In the Edit menu, select Delete. The Line Style Editor removes that line style from the line
style definition file.
3. Click the Save tool to save the Line Style Definition file.
1. In the line style definition file window, click the line you want to copy.
2. In the Edit menu, select Copy.
3. To paste the line in a new position, in the Edit menu, select Paste. The Line Style Editor pastes
a copy of the line you selected at the end of the file.
4. Click the Save tool to save the Line Style Definition file.
• To create a new line style definition: From the File menu, select New, or
• To open an existing line style definition: From the File menu, select Open and specify the name
and location of an existing line style definition file. The Line Style Editor shows the contents of a
line style definition file in a child window. You can
open more than one line style definition file at a time; the Line Style Editor displays each one in a
separate window.
To save a file:
1. Select the line style definition file window that you want to save.
2. In the File menu, select Save or Save as and type a name for the file in the field provided. The
Line Style Editor writes all your changes to the line style definition file you specify.
MapInfo Professional only reflects the changes if that file is named MAPINFO.PEN and is located in
the appropriate user directory.
Note Line style definitions you save are available to you in the Line Style and the Region Style
dialog boxes the next time you open MapInfo Professional. If you create or modify line styles
while MapInfo Professional is open, the changes do not display.
User Guide 11
Working with Objects in a Line Style
1. In the line style definition file (.PEN) window, click the line you want to modify.
2. Press the Enter key or in the Edit menu, select Modify. The Line Style Editor displays a new
window with the contents of that line.
3. Click the Save tool to save the Line Style Definition file.
4. Click the Save tool to save the Line Style Definition file.
3. Click there and drag the object to the left or the right. You cannot move some objects past
others. For example, you cannot pass a tick mark object over a draw line object.
The Line Style Editor draws a white rectangle around the entire object.
2. Move the cursor to the edge of the object until it changes into a two-headed arrow.
3. Click there and drag the edge of the layer to the desired length. You can make draw line objects
longer or shorter. You can make tick marks taller or shorter.
4. Click the Save tool to save the Line Style Definition file.
The Line Style Editor displays a dialog in which you can enter the object position, length or height
and width.
1. Make your selections and entries and select OK to confirm the changes.
2. Click the Save tool to save the Line Style Definition file.
User Guide 13
Working with Layers
3. Click the Save tool to save the Line Style Definition file.
3. Click the Save tool to save the Line Style Definition file.
4. Click the Save tool to save the Line Style Definition file.
User Guide 15
Frequently Asked Question
To import a custom MAPINFOW.PEN file to a new computer, copy the custom file to the same
location as the existing MAPINFO.PEN file in the current user's Application Data directory. If the
current .PEN file also contains custom line styles, it may be a good idea to rename the existing
MAPINFO.PEN file so that nothing is lost.
Note It is necessary to close and re-open MapInfo Professional to make new custom styles
available.
In this chapter
File Menu Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18
Edit Menu Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18
Objects Menu Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19
Options Menu Options. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19
View Menu Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19
Window Menu Options. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19
Help Menu Options. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20
Edit Menu Options
File 1, 2, 3, 4 Quick opens one of the four most recently opened .PEN files.
Cut Deletes selected data from the current window and moves it to the clipboard.
Copy Copies selected data from the current window to the clipboard.
Paste Pastes data from the clipboard into the end of current window.
New Line Adds line style to the last position of current window.
New Window Creates a new window that views the same .PEN file.
User Guide 19
Help Menu Options
Index Offers you an index to topics on which you can get help.