resource_saving_callback property
MarkdownSaveOptions.resource_saving_callback property
Allows to control how resources are saved when a document is exported to SaveFormat.MARKDOWN format.
@property
def resource_saving_callback(self) -> aspose.words.saving.IResourceSavingCallback:
...
@resource_saving_callback.setter
def resource_saving_callback(self, value: aspose.words.saving.IResourceSavingCallback):
...
Remarks
Note, there is only one type of resources in Markdown. These are images. When you specify both MarkdownSaveOptions.image_saving_callback and MarkdownSaveOptions.resource_saving_callback, then first is called MarkdownSaveOptions.resource_saving_callback. However, note it is not necessary to have both implementations, as ImageSavingArgs is actually a subset of ResourceSavingArgs.
See Also
- module aspose.words.saving
- class MarkdownSaveOptions