Dynamic logo


Purpose
This sample demonstrates implementation of a logo that will be shown in both standard display and dynamic display. In this sample, the ESRI logo draws in the lower-left corner of the map display.

How to use

See How to use ArcGIS samples for help on compiling, setting up the debugger, and running the sample.

Data has been provided for your use with this sample. It can be found at <Your ArcGIS Developer Kit Install directory>/Samples/data/ESRILogo/ESRI_Logo.bmp.
If the sample has associated data, you will find that the sample's zip file includes a "data" folder alongside the language folders. However, you will need to update the sample to point to the location of the data once you have extracted all the files.

  1. Start Visual Studio and open the solution.
  2. Build the solution to make the DynamicLogo library. Use this command in an application with a MapControl and a ToolbarControl, such as in the MapControl Application template provided in the Visual Studio Integration.
  3. Add the command to the ToolbarControl. The command (Show Logo) is located in the .NET Samples category.
  4. Run the application and add any layer to use as a background.
  5. Click the Show Logo command and add the logo to the map. A logo is added in the lower-left corner of the map. When you switch the map into dynamic mode, the logo remains in place.

DynamicLogo.cs Command that adds the logo to the map.
Download the C# files
DynamicLogo.vb Command that adds the logo to the map.
Download the VB.NET files

Download the files for all languages

See Also:

Dynamic display
How to create a dynamic glyph from a marker symbol
Sample: Dynamic display layer
Sample: Dynamic display compass
Sample: Dynamic display—tracking dynamic object




Additional Requirements
  • The logo image used by the layer, which is provided at the data path listed in this sample.

Development licensing Deployment licensing
Engine Developer Kit Engine
ArcGIS for Desktop Basic
ArcGIS for Desktop Standard
ArcGIS for Desktop Advanced