UrlHelper.PreviewUrl Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

Overloads

PreviewUrl(Attachment, Boolean) Returns the url used to preview the specified attachment.
PreviewUrl(IFile, Boolean) Returns the url used to preview the specified file.

PreviewUrl(Attachment, Boolean)

Returns the url used to preview the specified attachment.

public static string PreviewUrl(this Attachment attachment, bool absolute = false)

Parameters

attachment
Attachment
absolute
System.Boolean

Returns

System.String

PreviewUrl(IFile, Boolean)

Returns the url used to preview the specified file.

public static string PreviewUrl(this IFile file, bool absolute = false)

Parameters

file
IFile
absolute
System.Boolean

Returns

System.String