SvgResourceKeeperCallback.OnImageResourceReady

SvgResourceKeeperCallback.OnImageResourceReady method

Called when the image resource is ready for export.

public virtual string OnImageResourceReady(byte[] imageData, SvgImageType imageType, 
    string suggestedFileName, ref bool useEmbeddedImage)
ParameterTypeDescription
imageDataByte[]The resource data.
imageTypeSvgImageTypeType of the image.
suggestedFileNameStringName of the suggested file.
useEmbeddedImageBoolean&if set to true the embedded image must be used.

Return Value

Returns the path to the saved resource. Path should be relative to target SVG document.

See Also