Style Dump



Description:

This sample demonstrates how to display symbols from a Style Gallery. From the Style and the symbol type chosen, elements are created and drawn on the screen. They can then be sent to the printer or exported to one of the supported formats.

This command can only be used in the Layout View with page dimensions specified in inches.
Products:
ArcView: VB6

Platforms: Windows

Minimum ArcGIS Release: 9.0

How to use:
  1. In the Customize dialog, click on 'Add from file' and select this sample's dll.
  2. Under the Commands tab, select the 'Style Dump' command from the 'Developer Samples' category, and drag it on to a toolbar. Dismiss the Customize dialog.
  3. Switch to Layout View. From the Tools menu select Style/References... Add the Style Gallery whose contents you wish to view. Select your Page Size and Printer. Click on the Style Dump command. Use the drop down lists to setup the preferences of how to display the style contents. Click the Display button to view the contents on the screen. Click the Clear button to clear the screen. Click the Print button to print the current page to a postscript printer. Clcik the Setuo... button to initiate the Page Setup menu. Dismiss closes the Style Dump menu.

Download the VB6 files
StyleDump.cls Class for the Style Dump command.
StyleDump.frm VB form file holding resources used within project.
PictureBox.frm VB form file holding resources used within project.
StyleDump.bas Module holding resources used within project.
StyleDump.vbp Visual Basic project file.
StyleDump.dll The compiled component.

Download the files for all languages



Key CoClasses:Envelope, Map, Point
Key Interfaces: IPictureFillSymbol, ICmykColor, IRgbColor, IPageLayout, IPage, IPaper, IStyleGallery, IEnumStyleGalleryItem, IStyleGalleryStorage, IStyleGalleryItem, IGraphicsContainer