Search Results for

    Show / Hide Table of Contents
    View Source

    Class RteEmbedController

    A controller used for the embed dialog

    Inheritance
    System.Object
    Microsoft.AspNetCore.Mvc.ControllerBase
    UmbracoApiControllerBase
    UmbracoApiController
    UmbracoAuthorizedApiController
    UmbracoAuthorizedJsonController
    Namespace: Umbraco.Cms.Web.BackOffice.PropertyEditors
    Assembly: Umbraco.Web.BackOffice.dll
    Syntax
    public class RteEmbedController : UmbracoAuthorizedJsonController

    Constructors

    View Source

    RteEmbedController(EmbedProvidersCollection, ILogger<RteEmbedController>)

    Declaration
    public RteEmbedController(EmbedProvidersCollection embedCollection, ILogger<RteEmbedController> logger)
    Parameters
    Type Name Description
    EmbedProvidersCollection embedCollection
    Microsoft.Extensions.Logging.ILogger<RteEmbedController> logger

    Methods

    View Source

    GetEmbed(String, Int32, Int32)

    Declaration
    public OEmbedResult GetEmbed(string url, int width, int height)
    Parameters
    Type Name Description
    System.String url
    System.Int32 width
    System.Int32 height
    Returns
    Type Description
    OEmbedResult
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • RteEmbedController(EmbedProvidersCollection, ILogger<RteEmbedController>)
    • Methods
      • GetEmbed(String, Int32, Int32)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX