Edytuj

Udostępnij za pośrednictwem


Chart.Compression Property

Definition

Gets or sets the amount of compression for the chart image.

public:
 property int Compression { int get(); void set(int value); };
[System.ComponentModel.Bindable(true)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public int Compression { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.Compression : int with get, set
Public Property Compression As Integer

Property Value

An integer that represents the amount of compression for the entire chart image.

Attributes

Remarks

Compression is expressed as a percentage; for example, to use 50% compression, set this property to 50.

Compression is used for all rendering methods, as determined by the RenderType property, but only for JPEG images, which are specified by the Jpeg enumeration value.

Applies to