LoadOptions.ResourceLoadingStrategy

LoadOptions.ResourceLoadingStrategy delegate

Sometimes it’s necessary to avoid usage of internal loader of external resources(like images or CSSes) and supply custom method, that will get requested resources from somewhere. For example during usage of Aspose.Pdf in cloud direct access to referenced files impossible, and some custome code put into special method should be used. This delegate defines signature of such custom method.

public delegate ResourceLoadingResult ResourceLoadingStrategy(string resourceURI);
Parameter Type Description
resourceURI String Resource URI.

Return Value

ResourceLoadingResult object.

See Also