Search Results for

    Show / Hide Table of Contents
    View Source

    Class ImageDimensionExtractorExtensions

    Inheritance
    System.Object
    Namespace: Umbraco.Extensions
    Assembly: Umbraco.Core.dll
    Syntax
    public static class ImageDimensionExtractorExtensions

    Methods

    View Source

    IsSupportedImageFormat(IImageDimensionExtractor, String)

    Gets a value indicating whether the file extension corresponds to a supported image.

    Declaration
    public static bool IsSupportedImageFormat(this IImageDimensionExtractor imageDimensionExtractor, string extension)
    Parameters
    Type Name Description
    IImageDimensionExtractor imageDimensionExtractor

    The image dimension extractor implementation that provides detail on which image extensions are supported.

    System.String extension

    The file extension.

    Returns
    Type Description
    System.Boolean

    A value indicating whether the file extension corresponds to an image.

    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • IsSupportedImageFormat(IImageDimensionExtractor, String)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX