RasterSymbol.RasterSymbol Constructors
Initializes a new instance of the RasterSymbol class.
Overload List
RasterSymbol(System.Int32 width, System.Int32 height, System.Int32 xHot, System.Int32 yHot, StringCollection image)
Initializes a new instance of the RasterSymbol class with a 1-bit image of the given size.Syntax
public RasterSymbol (
System.Int32 width,
System.Int32 height,
System.Int32 xHot,
System.Int32 yHot,
StringCollection image
)
Parameters
The width of the symbol.
The height of the symbol.
The x-coordinate of the hot spot.
The y-coordinate of the hot spot.
The image data.
Remarks
See the HotspotOrigin and Image properties for details about how the parameters are interpreted. Note that this constructor sets the HotspotOrigin property to Legacy.
RasterSymbol(System.Int32 xHot, System.Int32 yHot, System.String path, System.String fileName)
Initializes a new instance of the RasterSymbol class by loading the specified image file.Syntax
public RasterSymbol (
System.Int32 xHot,
System.Int32 yHot,
System.String path,
System.String fileName
)
Parameters
The x-coordinate of the hot spot.
The y-coordinate of the hot spot.
The path to where the image file is located.
The name of the image file.
Remarks
See the HotspotOrigin property for details about how the parameters are interpreted. Note that this constructor sets the HotspotOrigin property to Legacy.
RasterSymbol(System.Int32 xHot, System.Int32 yHot, Raster raster)
Initializes a new instance of the RasterSymbol with the specified raster image.Syntax
public RasterSymbol (
System.Int32 xHot,
System.Int32 yHot,
Raster raster
)
Parameters
The x-coordinate of the hot spot.
The y-coordinate of the hot spot.
The raster image.
Remarks
See the HotspotOrigin property for details about how the parameters are interpreted. Note that this constructor sets the HotspotOrigin property to Legacy.
RasterSymbol(System.Int32 width, System.Int32 height, HotspotOrigin hotspotOrigin, System.Int32 xHot, System.Int32 yHot, StringCollection image)
Initializes a new instance of the RasterSymbol class with a 1-bit image of the given size.Syntax
public RasterSymbol (
System.Int32 width,
System.Int32 height,
HotspotOrigin hotspotOrigin,
System.Int32 xHot,
System.Int32 yHot,
StringCollection image
)
Parameters
The width of the symbol.
The height of the symbol.
The origin of the xHot and yHot coordinates.
The x-coordinate of the hot spot.
The y-coordinate of the hot spot.
The image data.
Remarks
See the HotspotOrigin and Image properties for details about how the parameters are interpreted.
RasterSymbol(HotspotOrigin hotspotOrigin, System.Int32 xHot, System.Int32 yHot, System.String path, System.String fileName)
Initializes a new instance of the RasterSymbol class by loading the specified image file.Syntax
public RasterSymbol (
HotspotOrigin hotspotOrigin,
System.Int32 xHot,
System.Int32 yHot,
System.String path,
System.String fileName
)
Parameters
The origin of the xHot and yHot coordinates.
The x-coordinate of the hot spot.
The y-coordinate of the hot spot.
The path to where the image file is located.
The name of the image file.
Remarks
See the HotspotOrigin property for details about how the parameters are interpreted.
RasterSymbol(HotspotOrigin hotspotOrigin, System.Int32 xHot, System.Int32 yHot, Raster raster)
Initializes a new instance of the RasterSymbol with the specified raster image.Syntax
public RasterSymbol (
HotspotOrigin hotspotOrigin,
System.Int32 xHot,
System.Int32 yHot,
Raster raster
)
Parameters
The origin of the xHot and yHot coordinates.
The x-coordinate of the hot spot.
The y-coordinate of the hot spot.
The raster image.
Remarks
See the HotspotOrigin property for details about how the parameters are interpreted.
RasterSymbol(System.Int32 width, System.Int32 height, System.Int32 xHot, System.Int32 yHot, IEnumerable< System.String > image)
Initializes a new instance of the RasterSymbol class with a 1-bit image of the given size.Syntax
public RasterSymbol (
System.Int32 width,
System.Int32 height,
System.Int32 xHot,
System.Int32 yHot,
IEnumerable< System.String > image
)
Parameters
The width of the symbol.
The height of the symbol.
The x-coordinate of the hot spot.
The y-coordinate of the hot spot.
The image data.
Remarks
See the HotspotOrigin and Image properties for details about how the parameters are interpreted. Note that this constructor sets the HotspotOrigin property to Legacy.
RasterSymbol(System.Int32 width, System.Int32 height, HotspotOrigin hotspotOrigin, System.Int32 xHot, System.Int32 yHot, IEnumerable< System.String > image)
Initializes a new instance of the RasterSymbol class with a 1-bit image of the given size.Syntax
public RasterSymbol (
System.Int32 width,
System.Int32 height,
HotspotOrigin hotspotOrigin,
System.Int32 xHot,
System.Int32 yHot,
IEnumerable< System.String > image
)
Parameters
The width of the symbol.
The height of the symbol.
The origin of the xHot and yHot coordinates.
The x-coordinate of the hot spot.
The y-coordinate of the hot spot.
The image data.
Remarks
See the HotspotOrigin and Image properties for details about how the parameters are interpreted.
Platforms
Windows, Linux, Android