ICanvasRenderingContext2DCreateImageData Method (IImageData) |
Creates a new, blank ImageData object with the specified dimensions.
All of the pixels in the new object are transparent black.
Namespace: Aspose.Html.Dom.CanvasAssembly: Aspose.HTML (in Aspose.HTML.dll) Version: 20.3
SyntaxIImageData CreateImageData(
IImageData imagedata
)
Function CreateImageData (
imagedata As IImageData
) As IImageData
IImageData^ CreateImageData(
IImageData^ imagedata
)
abstract CreateImageData :
imagedata : IImageData -> IImageData
Parameters
- imagedata
- Type: Aspose.Html.Dom.CanvasIImageData
An existing ImageData object from which to copy the width and height. The image itself is not copied.
Return Value
Type:
IImageDataA new ImageData object with the specified width and height. The new object is filled with transparent black pixels.
See Also