Click or drag to resize

ServerFileLocationsLocalFileNameToRelativeUrl Method

Converts a local server filename into a relative URL that can be sent back to the Silverlight client.

Namespace:  Atalasoft.Imaging.Silverlight
Assembly:  Atalasoft.dotImage.Silverlight.Web (in Atalasoft.dotImage.Silverlight.Web.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public string LocalFileNameToRelativeUrl(
	string fileName
)

Parameters

fileName
Type: SystemString
The path to the filename. The file must exist within the cached images folder or one of its sub-folders.

Return Value

Type: String
The relative URL to the file.
Exceptions
ExceptionCondition
Thrown if the filename does not reside within the cached image folder.
See Also