Redigera

Dela via


Chart.Width Property

Definition

Gets or sets the width of the entire chart image in pixels.

public:
 virtual property System::Web::UI::WebControls::Unit Width { System::Web::UI::WebControls::Unit get(); void set(System::Web::UI::WebControls::Unit value); };
[System.ComponentModel.Bindable(true)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public override System.Web.UI.WebControls.Unit Width { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.Width : System.Web.UI.WebControls.Unit with get, set
Public Overrides Property Width As Unit

Property Value

A Unit value that represents the width, in pixels, of the entire chart image.

Attributes

Remarks

Do not specify the value in percentage (%) or point (pt). Otherwise, an exception is thrown.

Applies to