ComponentOne Chart for .NET (2.0) Search HelpCentral 

C1.Web.C1WebChart.ImageRenderMethodEnum Enumeration

Use the members of this enumeration to set the value of the C1WebChart.ImageRenderMethod property in the C1WebChart class.

[Visual Basic]

Public Enum C1.Web.C1WebChart.ImageRenderMethodEnum

[C#]

public enum C1.Web.C1WebChart.ImageRenderMethodEnum

[Delphi]

type C1.Web.C1WebChart.ImageRenderMethodEnum = (AspPage, BinaryWrite, File, HttpHandler, Manual);

Namespace: C1.Web.C1WebChart

Assembly: C1.Web.C1WebChart.2 (in C1.Web.C1WebChart.2.dll)

Members

Member name

Description

AspPage

C1WebChart will utilize a secondary asp(x) page to stream the image data back to an imbedded <IMG> tag on the primary page. If this option is selected, the chart will generate an appropriately placed <IMG> tag within the page that hosts the chart. The positioning of the <IMG> tag will be in the same location as shown on the Visual Studio design page, and <IMG> tag src attribute will reference the specified asp(x) page. The path to the page will be that specified by the ImageUri property.

BinaryWrite

C1WebChart will perform a binary write to its host page response stream directly, without transferring data to another page. However, the binary image data will be the only data returned.

File

C1WebChart will generate image files that can be referenced directly by an <IMG> tag. The <IMG> tag will be generated and will reference the file specified by the ImageUri property. If the ImageUri property is not specified, then a name for the temporary file will be generated and the URL will reference the temporary file.

HttpHandler

C1WebChart supports the IHTTPHandler interface and will generate an appropriately placed <IMG> tag within the page that references its internal HTTPHandler to stream the image to the client.

Manual

C1WebChart does nothing to render itself at run time. All operations required for generating and placing the chart image within the page are the responsibility of the programmer.

See Also

C1.Web.C1WebChart Namespace


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.