com.esri.arcgis.display
Interface IMarkerFillSymbol

All Superinterfaces:
IFillSymbol, Serializable
All Known Implementing Classes:
MarkerFillSymbol

public interface IMarkerFillSymbol
extends IFillSymbol, Serializable

Provides access to members that control the marker fill symbol.

Description

IMarkerFillSymbol can be used to create a fill pattern that is composed of any marker supported by the IMarkerSymbol interface. These include: ICharacterMarkerSymbol, ISimpleMarkerSymbol, IArrowMarkerSymbol, and IPictureMarkerSymbol. Use the Style enumeration to display the markers in a grid, esriMFSGrid, or random, esriMFSRandom, pattern. Use the IFillSymbol interface to set additional properties for IMarkerFillSymbols.

Remarks

You can use any MarkerSymbol for your fill, but note that the PictureFillSymbol may be more appropriate for your needs than using a PictureMarkerSymbol as the MarkerSymbol.

If the esriMFSGrid style is chosen, then the Marker objects will be aligned on a grid starting at the origin of the container's coordinate system, with the center of a marker at (0,0); therefore, if the same fill is applied to many shapes in one container, the markers within every shape will align together.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 double getGridAngle()
          Angle of marker position grid.
 IMarkerSymbol getMarkerSymbol()
          Marker symbol used for fill.
 int getStyle()
          Fill style.
 void setGridAngle(double angle)
          Angle of marker position grid.
 void setMarkerSymbolByRef(IMarkerSymbol marker)
          Marker symbol used for fill.
 void setStyle(int style)
          Fill style.
 
Methods inherited from interface com.esri.arcgis.display.IFillSymbol
getColor, getOutline, setColor, setOutline
 

Method Detail

getMarkerSymbol

IMarkerSymbol getMarkerSymbol()
                              throws IOException,
                                     AutomationException
Marker symbol used for fill.

Description

MarkerSymbol is the marker used as the fill pattern. Any IMarkerSymbol interface can be used.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.display.IMarkerSymbol
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMarkerSymbolByRef

void setMarkerSymbolByRef(IMarkerSymbol marker)
                          throws IOException,
                                 AutomationException
Marker symbol used for fill.

Description

MarkerSymbol is the marker used as the fill pattern. Any IMarkerSymbol interface can be used.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
marker - A reference to a com.esri.arcgis.display.IMarkerSymbol (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStyle

int getStyle()
             throws IOException,
                    AutomationException
Fill style.

Description

Style is the enumeration that defines whether the markers are place in a grid, esriMFSGrid, or random, esriMFSRandom, pattern. esriMFSGrid is the default Style.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
A com.esri.arcgis.display.esriMarkerFillStyle constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setStyle

void setStyle(int style)
              throws IOException,
                     AutomationException
Fill style.

Description

Style is the enumeration that defines whether the markers are place in a grid, esriMFSGrid, or random, esriMFSRandom, pattern. esriMFSGrid is the default Style.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
style - A com.esri.arcgis.display.esriMarkerFillStyle constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGridAngle

double getGridAngle()
                    throws IOException,
                           AutomationException
Angle of marker position grid.

Remarks

Not yet implemented.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
The angle
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setGridAngle

void setGridAngle(double angle)
                  throws IOException,
                         AutomationException
Angle of marker position grid.

Remarks

Not yet implemented.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
angle - The angle (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.