public class SvgResourceKeeperCallback extends Object implements ISvgResourceKeeperCallback
The resource keeper callback
| Constructor and Description |
|---|
SvgResourceKeeperCallback() |
| Modifier and Type | Method and Description |
|---|---|
void |
onFontResourceReady(com.aspose.svg.options.FontStoringArgs args)
Called when [font resource ready].
|
String |
onImageResourceReady(byte[] imageData,
int imageType,
String suggestedFileName,
boolean[] useEmbeddedImage)
Called when image resource ready.
|
String |
onSvgDocumentReady(byte[] htmlData,
String suggestedFileName)
Called when SVG document ready.
|
public String onImageResourceReady(byte[] imageData, int imageType, String suggestedFileName, boolean[] useEmbeddedImage)
Called when image resource ready.
onImageResourceReady in interface ISvgResourceKeeperCallbackimageData - The resource data.imageType - Type of the image.suggestedFileName - Name of the suggested file.useEmbeddedImage - if set to true the embedded image must be used.public void onFontResourceReady(com.aspose.svg.options.FontStoringArgs args)
Called when [font resource ready].
onFontResourceReady in interface ISvgResourceKeeperCallbackargs - The arguments.public String onSvgDocumentReady(byte[] htmlData, String suggestedFileName)
Called when SVG document ready.
onSvgDocumentReady in interface ISvgResourceKeeperCallbackhtmlData - The SVG data.suggestedFileName - Name of the suggested file.Copyright (c) 2008-2022 Aspose Pty Ltd. All Rights Reserved.