![]() ![]() |
ESRI.ArcGIS.ADF.IMS | |
RasterFillSymbol Class | |
Members Example See Also Send Feedback |
ESRI.ArcGIS.ADF.IMS.Display.Symbol Namespace : RasterFillSymbol Class |

Visual Basic (Declaration) | |
---|---|
<SerializableAttribute()> Public Class RasterFillSymbol Inherits FillSymbol |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As RasterFillSymbol |
C# | |
---|---|
[SerializableAttribute()] public class RasterFillSymbol : FillSymbol |
Visual Basic | ![]() |
---|---|
' Create a new raster fill symbol and set its properties Dim rasterFillSymb As New RasterFillSymbol() rasterFillSymb.Image = "C:\Temp\wheelchair.gif" ' Url property isn't used by image services--only needed if using Web ADF TOC control rasterFillSymb.Url = "http://myserver/temp/citysymbol.gif" rasterFillSymb.AllowLabelOverlap = True rasterFillSymb.Antialiasing = True rasterFillSymb.Transparency = 30 ' Retrieve renderer for existing polygon layer Dim layer As FeatureLayer = mapView.Layers.FindByName("Countries") Dim renderer As SimpleRenderer = layer.Renderer ' Replace the renderer's symbol with the one we created renderer.Symbol = simpleFillSymb |
C# | ![]() |
---|---|
// Create a new raster fill symbol and set its properties RasterFillSymbol rasterFillSymb = new RasterFillSymbol(); rasterFillSymb.Image = "C:\Temp\wheelchair.gif"; // Url property isn't used by image services--only needed if using Web ADF TOC control rasterFillSymb.Url = "http://myserver/temp/citysymbol.gif"; rasterFillSymb.AllowLabelOverlap = true; rasterFillSymb.Antialiasing = true; rasterFillSymb.Transparency = 30; // Retrieve renderer for existing polygon layer FeatureLayer layer = mapView.Layers.FindByName("Countries"); SimpleRenderer renderer = layer.Renderer; // Replace the renderer's symbol with the one we created renderer.Symbol = simpleFillSymb; |
RasterFillSymbol tiles an image to fill the polygons to which it is applied.
The image is drawn on the map by the server, so that the raster image does not need to be available to the client (browser).
May be used either to symbolize a FeatureLayer within its renderer, or to symbolize a GeometryElement in an acetate layer.
For ArcMap Server image services, valid only for acetate layers. ArcMap Server ignores several of the properties of this class. For details, see the topic for RASTERFILLSYMBOL in the ArcIMS Help, at ArcXML Guide - Symbol elements - RASTERFILLSYMBOL. The ArcIMS Help is also available online at ESRI).
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