Dundas Chart for ASP.NET
NamedImage Class
Members  See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace : NamedImage Class


This class represents named images, and NamedImage objects are stored in the NamedImages collection property.


NamedImage class stores a single Image with it's unique name.

Syntax

Visual Basic (Declaration)  
Public Class NamedImage 
Visual Basic (Usage) Copy Code
Dim instance As NamedImage
C#  
public class NamedImage 

Remarks

This class represents an image that has a unique name, and is useful when an image is dynamically created using some drawing routine and is then used as the image for one of the Chart control's image properties.

The Name property determines the unique name of a NamedImage object, while the Image property determines its associated image (can be any object derived from the .NET Image class).

When one of the Chart control's image properties is set by specifying a string value the Images collection (of type NamedImageCollection) is first checked to see if an image with this name exists. If a matching NamedImage object is found then this image is used. If a matching NamedImage object is not located then the string expression is treated as a URL, image resource name or pathname.

NamedImage objects are stored in the NamedImagesCollection class, which is exposed as the Images property of the root Chart object.

Inheritance Hierarchy

System.Object
   Dundas.Charting.WebControl.NamedImage

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.