Click or drag to resize
IMediaFileUrl Interface
Encapsulates media file URL representation.

Namespace: Kentico.Content.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
public interface IMediaFileUrl : IFileUrl

The IMediaFileUrl type exposes the following members.

Properties
  NameDescription
Public propertyDirectPath
Direct path of the media file.
Public propertyIsImage
Indicates if the file represents an image.
(Inherited from IFileUrl.)
Public propertyQueryStringParameters
Collection of query string parameters to be appended to RelativePath.
(Inherited from IFileUrl.)
Public propertyRelativePath
Relative path of the media file.
Top
Extension Methods
  NameDescription
Public Extension MethodWithOptions
Provides additional file URL options based on given parameters.
(Defined by IFileUrlExtensions.)
Public Extension MethodWithSizeConstraint
Provides size constraints to the file URL if file represents an image based on given parameters.
(Defined by IFileUrlExtensions.)
Top
See Also