Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IApiMediaWithCropsBuilder

    Represents a builder for creating API media objects that include crop information.

    Namespace: Umbraco.Cms.Infrastructure.DeliveryApi
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public interface IApiMediaWithCropsBuilder

    Methods

    View Source

    Build(MediaWithCrops)

    Builds an IApiMediaWithCrops instance from the specified MediaWithCrops media.

    Declaration
    IApiMediaWithCrops Build(MediaWithCrops media)
    Parameters
    Type Name Description
    MediaWithCrops media

    The media with crops to build from.

    Returns
    Type Description
    IApiMediaWithCrops

    An IApiMediaWithCrops representing the built media with crops.

    View Source

    Build(IPublishedContent)

    Builds an IApiMediaWithCrops instance from the specified IPublishedContent media.

    Declaration
    IApiMediaWithCrops Build(IPublishedContent media)
    Parameters
    Type Name Description
    IPublishedContent media

    The published media content to build from.

    Returns
    Type Description
    IApiMediaWithCrops

    An IApiMediaWithCrops representing the built media with crops.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX