Class ContentItemAssetMetadata
- Namespace
- CMS.ContentEngine
- Assembly
- CMS.ContentEngine.dll
Represents metadata of an asset in content item.
public class ContentItemAssetMetadata : ContentItemAssetBaseMetadata
- Inheritance
-
objectContentItemAssetMetadata
- Derived
- Inherited Members
- Extension Methods
Remarks
Asset metadata can be supplied to create or update operations of IContentItemManager via ContentItemData.
Properties
FocalPoint
Gets or sets the focal point of the asset.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonInclude]
public Point? FocalPoint { get; }
Property Value
OptimizationParameters
Gets or sets the parameters used for image optimization.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonInclude]
public ImageOptimizationParameters OptimizationParameters { get; }
Property Value
Remarks
This property is intended for system purposes only.
Original
Gets or sets the original metadata of the asset.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonInclude]
public ContentItemAssetBaseMetadata Original { get; }
Property Value
Remarks
This property is intended for system purposes only.
Variants
Gets or sets the variants of the asset.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonInclude]
[JsonConverter(typeof(VariantsJsonConverter))]
public ReadOnlyDictionary<string, ContentItemAssetVariantMetadata> Variants { get; }
Property Value
- ReadOnlyDictionary<string, ContentItemAssetVariantMetadata>