1. Stylelabs.M.Sdk.Models.Base

Class Rendition

Represents a rendition.

Inheritance

object

Rendition

Implements

IRendition

Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsBase

Assembly: Stylelabs.M.Sdk.dll

Syntax

public class Rendition : IRendition

Constructors

Rendition(string, IEnumerable)

Initializes a new instance of the Rendition class.

Declaration

public Rendition(string name, IEnumerable<IRenditionItem> items)

Parameters

TypeNameDescription
stringnameName of the rendition.
IEnumerable<>IRenditionItemitemsItems in this rendition.

Properties

Items

Gets collection of rendition items.

Declaration

public IReadOnlyList<IRenditionItem> Items { get; }

Property Value

TypeDescription
IReadOnlyList<>IRenditionItem

Remarks

Depending on the file type, there can be one or more rendition items. For example a PDF will have an item per page.

Name

Gets name of the rendition.

Declaration

public string Name { get; set; }

Property Value

TypeDescription
string

Implements

IRendition

If you have suggestions for improving this article, let us know!