Spread ASP.NET 6.0 Product Documentation
BackgroundImageUrl Property
See Also  Example Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > Background Class : BackgroundImageUrl Property


Glossary Item Box

Gets or sets the location of a background image.

Syntax

Visual Basic (Declaration) 
Public Property BackgroundImageUrl As String
Visual Basic (Usage)Copy Code
Dim instance As Background
Dim value As String
 
instance.BackgroundImageUrl = value
 
value = instance.BackgroundImageUrl
C# 
public string BackgroundImageUrl {get; set;}

Property Value

String containing the location URL of the image

Example

This example sets the background image for the column.
C#Copy Code
FpSpread1.Columns[0].Background.BackgroundImageUrl = FarPoint.Web.Spread.Background.DEFAULT_GRADIENT_MASK_IMAGE;
FpSpread1.Columns[0].Background.Enable = true;
FpSpread1.Columns[0].Background.SelectedBackgroundImageUrl = FarPoint.Web.Spread.Background.DEFAULT_GRADIENT_MASK_IMAGE;
Visual BasicCopy Code
FpSpread1.Columns(0).Background.BackgroundImageUrl = FarPoint.Web.Spread.Background.DEFAULT_GRADIENT_MASK_IMAGE
FpSpread1.Columns(0).Background.Enable = True
FpSpread1.Columns(0).Background.SelectedBackgroundImageUrl = FarPoint.Web.Spread.Background.DEFAULT_GRADIENT_MASK_IMAGE

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

© 2002-2012 GrapeCity, Inc. All Rights Reserved.