Interface ISvgResourceKeeperCallback
- Namespace
- Aspose.Imaging.FileFormats.Svg
- Assembly
- Aspose.Imaging.dll
The svg callback interface
public interface ISvgResourceKeeperCallback
Methods
OnFontResourceReady(FontStoringArgs)
Called when the font resource is ready for export.
void OnFontResourceReady(FontStoringArgs args)
Parameters
args
FontStoringArgsThe 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
SvgImageTypeType of the image.
suggestedFileName
stringName of the suggested file.
useEmbeddedImage
boolif set to
true
the embedded image must be used.
Returns
- string
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
Returns
- string
Returns the path to the saved SVG document.