Method LoadResource

Namespace TallComponents.PDF.Layout.ResourceLoader
Interface IResourceLoader

Load a resource identified by the path and optional base path info.

You do not need to return null/nothing if the resource cannot be found.

When null/nothing is returned the component will try it with the default resource loader.

Syntax

public  LoadedResource  LoadResource( String  basePath String  path )

Returns

LoadedResource

The LoadedResource or null/nothing if not supported.

Parameters


String basePath
The optional base path (can be string.Empty or null)

String path
The absolute, relative or virtual path from the resource to load.