MapServiceExtensionsCreateImage Method (Color, Int32, Int32) |
Renders an image filled with a given color.
Namespace:
Ptv.XServer.Controls.Map.Tools.Reprojection
Assembly:
Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax public static Image CreateImage(
this Color color,
int width,
int height
)
<ExtensionAttribute>
Public Shared Function CreateImage (
color As Color,
width As Integer,
height As Integer
) As Image
public:
[ExtensionAttribute]
static Image^ CreateImage(
Color color,
int width,
int height
)
[<ExtensionAttribute>]
static member CreateImage :
color : Color *
width : int *
height : int -> Image
Parameters
- color
- Type: System.DrawingColor
Color to fill the image with. - width
- Type: SystemInt32
Width of the image to return. - height
- Type: SystemInt32
Height of the image to return.
Return Value
Type:
ImageRendered image.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Color. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also