Chart.BackImageWrapMode 属性


获取或设置 Chart 控件背景图像的绘制模式。Gets or sets the drawing mode for the background image of the Chart control.

 property System::Web::UI::DataVisualization::Charting::ChartImageWrapMode BackImageWrapMode { System::Web::UI::DataVisualization::Charting::ChartImageWrapMode get(); void set(System::Web::UI::DataVisualization::Charting::ChartImageWrapMode value); };
public System.Web.UI.DataVisualization.Charting.ChartImageWrapMode BackImageWrapMode { get; set; }
member this.BackImageWrapMode : System.Web.UI.DataVisualization.Charting.ChartImageWrapMode with get, set
Public Property BackImageWrapMode As ChartImageWrapMode


一个 ChartImageWrapMode 枚举值。A ChartImageWrapMode enumeration value. 默认值为 TileThe default value is Tile.



此属性确定图像的显示方式,例如,平铺、缩放等。This property determines how the image is displayed, for example, tiled, scaled, and so forth.

如果缩放图像,则该图像将拉伸以适合图表边界内。If an image is scaled, it will be stretched to fit within the bounds of the chart. 如果图像已平铺,则从图表左上角开始,重复绘制图像。If the image is tiled, it is repeatedly drawn, starting from the top-left corner of the chart.

有关可用包装模式的详细信息,请参阅ChartImageWrapMode枚举主题。For more information about the available wrapping modes, see the ChartImageWrapMode enumeration topic.

如果将Unscaled属性设置为,则BackImageAlignment绘制图像的位置由属性设置确定。 BackImageWrapModeIf the BackImageWrapMode property is set to Unscaled, the location where the image is drawn is determined by the BackImageAlignment property setting.