Description of symbols in ArcGIS Engine

Source: Internet
Author: User

In this article, I will translate ESRI's official help documentation. Respect for the fruits of labor. For more information, see the source.

Symbols

ArcObjects uses three types of symbol styles to draw graphical features: marker symbols (mark symbol), line symbols (line symbol), and fill symbols (fill symbol ). These styles can also be used to draw elements (element) graphics, such as chart edges and finger arrows on a map or custom view. The fourth style text symbol is used to draw the annotation and other text elements. The fifth style 3D chart symbol (Chart style) is used to draw a chart. In the image element settings instance, a style is assigned to all elements as an attribute. However, a layer is drawn by a combination of one or more styles. The size of the style (Symbol) is always specified to some points (such as the width of the line), but the size of the geometric shape (such as the path of the line) is determined by themselves. In most cases, when an object is created, it has a default style. Therefore, you do not need to create a new style and assign it to each object. You can modify an existing style. Another way to get a style is to use a style file. Arcobject uses style files to distribute database storage and access styles and colors. There are many standard styles and thousands of predefined available styles are provided in the installation path. Using stylegallery and stylegalleryitem classes, you can make up for and modify the existing symbol styles, which makes it more efficient to draw and create a specific proportion. You can also use the standard style editor of ArcMAP, which can be opened in the program using the symboleditor class. The following section describes how to use the first rule to create a complex symbol style. The isymbol interface provides a high-level function for all symbol styles. It allows you to use settings to draw a symbol style directly.

For more information, see creating
Custom symbols

Symbol Level Drawing

You can use the symbol level drawing function to change the painting sequence of layer objects. When drawing with symbol levels, you can control that elements are drawn in the most basic order of style. This means that the elements do not need to be drawn in the same order as the layers appear in the ArcMap table content. Using symbol level rendering, you can control the painting of element elements with the Controller. More importantly, when multiple style symbols are used, you can control the order of drawing a single symbol layer.

Symbol levels are most useful in map casings. Because it can be used to create flyover and underground tunnels, it is a very good way to display the connection status when the line object is in a passing state. Symbol level rendering can be used to better express other more influences and conditions.

Join and merge

The following figure shows the effect of a merged style, which makes the object have consistent styles connected to each other. Merge to display objects with different styles. These changes are automatically displayed in the background after the symbol level object and interface are used. You can use the isymbollevels. usesymbollevels interface relative to the layer or the Imp. usersymbollevels interface relative to the entire map to switch the toggle level rendering.

Two examples of using map level symbols:

For more information, see: How
To use symbol Level Drawing


Marker symbols

The following chart shows the class structure of the markup symbol style:

The imarkersymbol interface provides some attributes shared by the tag style: angle, color, size, xoffset, and yoffset. Imarkersymbol is the original interface for all tag styles. All other tag interfaces inherit the attributes and methods of imarkersymbol. This interface has five readable and writable attributes that allow you to obtain and set basic attributes in any tag style class. The color attribute can be set by any icolor type object. Its specific impact is based on the type you use.
The following table lists the settings of the color attribute of the tag style class:

The size attribute sets the overall height of the symbol, including simplemarkersymbol, charactermarkersymbol, picturemarkersymbol, and multilayermarkersymbol. For the arrowmarkersymbol type, size indicates the length. The basic unit is a point. The default value of picturemarkersymbol is 12, and the default value of others is 8. Angle attribute setting angle. Unit: degree. The sign starts to rotate in the clockwise direction. The default value is 0. The xoffset and yoffset attributes define the offset distance from the actual object when the style is drawn. Both attributes are in the print point. The default value is 0, and the value can be positive or negative. A negative number indicates a downward offset or a right offset relative to the object. Of course, a positive number indicates an upward offset or a left offset. Size, xoffset, and yoffset on the printer point 1/71 inch.
The following figure shows some tag styles:

The rotation of the markup symbol is specified to a mathematical expression, and the rotation of the markup symbol is displayed:

Some simple tag styles are displayed:

Some arrow markup styles are displayed:

Some chart markup styles are displayed:

Some Image Tag styles are displayed:

Some multi-layer tag styles are displayed:

For more information, see:

  • How
    To make a character marker symbol
  • How
    To make a picture marker symbol


    Line symbolsShows the Class View of the line symbol style:
    The linesymbol interface has the attributes of both wired styles: Color and width. Ilinesymbol is the original interface of line styles. It inherits all attributes and methods of ilinesymbol. The interface has two readable and writable attributes, which can be obtained and set in all line style classes. The color attribute controls the color of the base line (it does not affect any existing decorative lines, see the ilineproperties Interface) and can have any icolor type object settings. Color lines except simplelinesymbol are set to moderate gray by default, and others are black by default. The width attribute sets the width of all lines, in the unit of points. For hashlinesymbol, the width attribute sets the length of all hashes. Except the default width of markerlinesymbol is 8, the default width of all line symbols is 1. A line symbol represents the definition of an object or a drawing. Straight Lines, polylines, curves, and outlines can all be drawn with line symbols. Some line symbols are displayed:
    A line symbol is printed at 72 inch. The following is an example of line symbol width:
    For more information, see: How
    To make a cartographic line symbol
      Fill symbols

      Shows the class structure view of the fill symbol:

      Show some fill symbol styles:

      The ifillsymbol interface presents two attributes: Color and outline. They are attributes of all fill symbol types.
      In arcojbects, ifillsymbol is inherited by all more professional fill style types and has two readable and writable attributes. The color attribute controls this basic fill. As shown in the following table, you can use the icolor type to set it.

      The outline attribute is set in ilinesymbol and is drawn to the filled outer border. Different fill symbols indicate how the area and border of a polygon are drawn. The default outer frame is a simplelinesymbol solid line. You can also use any type of line style as the outer frame line. The midline of the outer frame is on the edge of the object. Therefore, an outer frame line with a width of 5 overlaps the number of visible symbols.

      For more information, see:

    • How
      To make a line fill symbol
    • How
      To make a gradient fill symbol

      Text symbols

      Class View showing the text symbol style:

      The textsymbol class provides a type of symbol for the text, annotation, and annotation in graphic elements. The text symbol style not only defines the font. The main interfaces are itextsymbol, isimpletextsymbol, and iformattedtextsymbol, which control how the text is displayed and how a single character is displayed. Textsymbol supports extended ASCII codes.
      For more information, see:

    • Creating
      Other kinds of symm symbols
    • How
      To make a Line Callout


      Chart symbols

      3dchartsymbol is an abstract three types of chart symbols. It represents a markup symbol. You can use multiple chartrenderer attributes to represent geographical data. Although it is widely used in chartrenderer, if all attributes are set properly, you can also use a symbol as a markup symbol to represent a single individual object or element.
      In chart symbols, ichartsymbol is used to calculate the size of the column and pie chart. Maximum attribute values can be used by charts to calculate values of other attributes. This value is always set when 3dchartsymbol is created. When creating a charrenderer, make sure that your feature class has been counted. You can set the maxvalue attribute to the maxmun attribute value to start rendering. For example, you can add two fields to a chart for rendering. One contains 0 to 5, and the other contains 0 to 10. The maximum value is 10.
      The value attribute contains a set of values that indicate the height and width of all the columns or the shares of the pie. If you use chartsymbol in charrenderer, you do not need to set this attribute. In the charrenderer drawing process, the featureclass class creates a slightly different symbol from each function to repeat the attribute values of the specified attribute field. The value after painting is set to null or 0. When chartrenderer is used separately, set the array value you want to use in the column and pie chart.
      For more information, see:
      Creating
      Custom symbols

      Creating
      Other kinds of symm symbols

      Sample:
      Triangle Graphic Element

    • Contact Us

      The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

      If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

      A Free Trial That Lets You Build Big!

      Start building with 50+ products and up to 12 months usage for Elastic Compute Service

      • Sales Support

        1 on 1 presale consultation

      • After-Sales Support

        24/7 Technical Support 6 Free Tickets per Quarter Faster Response

      • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.