Shared Samples

Try out source code samples stored in Bitbucket repositories.
Showing results for 
Search instead for 
Do you mean 

Application setColorToAnnotationElement

by Technical Evangelist on ‎09-09-2015 07:17 AM - edited on ‎03-29-2016 11:24 AM by Anonymous (312 Views)

Example Type

Application

 

Purpose

To demonstrate how to setup fill color for basic Annotation element (symbol, polygon, rectangle).

 

Files

            setColorToAnnotation.c                        (C source code)

            setColorToAnnotation.eml       (EML Macro script)

setColorToAnnotation.h                       (C header file)

annotation.ovr                         (example Imagine annotation file)

setColorToAnnotation.vcproj    (Visual Stuido 2003 Project)

setColorToAnnotation.dsp        (Visual Stuido 6 Project)

            readme.txt                               (Where to copy, how to run)

 

 

Interface

demo.jpg 

 

 

How to use:

Load example “annotation.ovr” into a viewer, start program.

Click “Link to a Viewer” to link to the annotation viewer

Select the element in the popuplist

Click “Set Red Color” to change color to that element.

 

 

Note:

This program only work for 3 basic annotation elements (symbol, polygon, rectangle). You can extend this program to other types of element.

 

 

Source Code:

https://bitbucket.org/HGDN/hgdn_erdas_imagine/src/e1ade3b7d148b0f2f1aa6427044dfa4bce6226ee/App_setCo...

Overview
Contributors