Pitney-bowes MapXtreme Uživatelský manuál Strana 293

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 640
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 292
Chapter 15: Stylizing Your Maps
Using Styles
MapXtreme v7.1 300 Developer Guide
Using Styles
Styles and Layer Control
Use LayerControl at design or runtime to modify and override styles. See the sample application
LayerControl for an introduction to the MapInfo.Windows.Controls.LayerControl object model. This
code sample uses a LayerControl object directly on a form; it does not demonstrate using the
LayerControlDlg dialog box, which is a related, but separate class. Every operation demonstrated in
this code sample could be applied to a LayerControlDlg object, as well, since the LayerControlDlg
class exposes a LayerControl property.
LayerControl is discussed in Chapter 7: Desktop Applications, Controls, Dialogs, and Tools and
in Chapter 23: Workspace Manager.
Creating a Custom Bitmap Style
You can create bitmap images in any application that can create bitmaps, like MS Paint or Paint
Shop Pro. There are virtually no size limitations on the image; however, the ability of MapXtreme to
display it will depend on available memory. The image does not have to be square and can also
have up to 24-bit color depth. To make sure the image is displayed at the height and width you want,
select the 'Display at actual size option' for BitmapPointStyles. Once the image is created, place it in
the CustSymb directory.
Zobrazit stránku 292
1 2 ... 288 289 290 291 292 293 294 295 296 297 298 ... 639 640

Komentáře k této Příručce

Žádné komentáře