ISvgResourceKeeperCallbackOnImageResourceReady Method

Called for each raster image in SVG. Use it to specify how to store the raster image.

Namespace:  Aspose.CAD.ImageOptions.SvgOptionsParameters
Assembly:  Aspose.CAD (in Aspose.CAD.dll) Version: 21.3
Syntax
string OnImageResourceReady(
	byte[] imageData,
	SvgImageType imageType,
	string suggestedFileName,
	ref bool useEmbeddedImage
)

Parameters

imageData
Type: SystemByte
The bytes of the raster image content
imageType
Type: Aspose.CAD.ImageOptions.SvgOptionsParametersSvgImageType
Type of the image.
suggestedFileName
Type: SystemString
Name of the suggested file.
useEmbeddedImage
Type: SystemBoolean
if set to true then image will be embedded into SVG.

Return Value

Type: String
Should return path to saved resource. Path will be used in SVG image to refer to raster content. Path should be relative to target SVG document.
See Also