ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
This is an old revision of the document!
This class is a single item in an IconValueStyle.
If you use the constructor, then you should set all the properties manually.
You would typically use this constructor if you are using an icon that's located on disk. If you need to use an image from a stream instead, there is another overload that takes a GeoImage.
IconValueItem(String,GeoImage,TextStyle)
This is the constructor for the class.
You will typically use this overload if you need to use a stream for the image. If you need to use a file located on disk instead, there is another overload that takes the path and filename to an image.
This method is used when drawing to get the image as a GeoImage. We will internally either pass along the GeoImage the user set, or create a GeoImage from the IconFilePathName that was set.
N/A
N/A
N/A
N/A
N/A
N/A
None
This property gets and sets the field value that has to match in the IconValueStyle.
For an explanation on how the IconValueStyle works, see the IconValueStyle Class remarks.
This property gets and sets the path and filename of the icon that will be drawn.
If you need to use a GeoImage, you can set the GeoImage in the constructor or use the property.
This property gets and sets the minimum string length for this item to match.
This is an important property because it is used to ensure that that a properly sized icon is used to draw things like road signs. For example, you can set the minimum and maximum values so that the sign icon for a single-digit road number uses one icon, while a two-digit road uses another, wider sign icon in a separate IconValueItem.
This property gets and sets the maximum string length for this item to match.
This is an important property because it is used to ensure that that a properly sized icon is used to draw things like road signs. For example, you can set the minimum and maximum values so that the sign icon for a single-digit road number uses one icon, while a two-digit road uses another, wider sign icon in a separate IconValueItem.