Interface ISvgResourceKeeperCallback
Interface ISvgResourceKeeperCallback
Namespace: Aspose.Imaging.FileFormats.Svg
Assembly: Aspose.Imaging.dll (25.8.0)
The svg callback interface
public interface ISvgResourceKeeperCallbackMethods
OnFontResourceReady(FontStoringArgs)
Called when the font resource is ready for export.
void OnFontResourceReady(FontStoringArgs args)Parameters
args FontStoringArgs
The font storing options.
OnImageResourceReady(byte[], SvgImageType, string, ref bool)
Called when the image resource is ready for export.
string OnImageResourceReady(byte[] imageData, SvgImageType imageType, string suggestedFileName, ref bool useEmbeddedImage)Parameters
imageData byte
[]
The resource data.
imageType SvgImageType
Type of the image.
suggestedFileName string
Name of the suggested file.
useEmbeddedImage bool
if set to true the embedded image must be used.
Returns
Returns the path to the saved resource. Path should be relative to target SVG document.
OnSvgDocumentReady(byte[], string)
Called when the SVG document is ready for export.
string OnSvgDocumentReady(byte[] htmlData, string suggestedFileName)Parameters
htmlData byte
[]
The SVG data.
suggestedFileName string
Name of the suggested file.
Returns
Returns the path to the saved SVG document.