Class ImageItem
Inheritance
System.Object
ImageItem
Implements
System.ComponentModel.INotifyPropertyChanged
System.ICloneable
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Aurigma.DesignAtoms.Model.dll
Syntax
public class ImageItem : ContentItem, ICloneable
Constructors
ImageItem()
Declaration
ImageItem(ImageItem.ImageSource, Nullable<PointF>, Nullable<Single>, Nullable<Single>)
Declaration
public ImageItem(ImageItem.ImageSource source, PointF? location = null, float? width = null, float? height = null)
Parameters
| Type |
Name |
Description |
| ImageItem.ImageSource |
source |
|
| System.Nullable<System.Drawing.PointF> |
location |
|
| System.Nullable<System.Single> |
width |
|
| System.Nullable<System.Single> |
height |
|
ImageItem(Nullable<PointF>, Nullable<Single>, Nullable<Single>)
Declaration
public ImageItem(PointF? location = null, float? width = null, float? height = null)
Parameters
| Type |
Name |
Description |
| System.Nullable<System.Drawing.PointF> |
location |
|
| System.Nullable<System.Single> |
width |
|
| System.Nullable<System.Single> |
height |
|
ImageItem(String, Nullable<PointF>, Nullable<Single>, Nullable<Single>, Int32)
Declaration
public ImageItem(string storageId, PointF? location = null, float? width = null, float? height = null, int pageIndex = 0)
Parameters
| Type |
Name |
Description |
| System.String |
storageId |
|
| System.Nullable<System.Drawing.PointF> |
location |
|
| System.Nullable<System.Single> |
width |
|
| System.Nullable<System.Single> |
height |
|
| System.Int32 |
pageIndex |
|
Fields
AllowedSubfolder
Declaration
public string AllowedSubfolder
Field Value
| Type |
Description |
| System.String |
|
AllowedTabs
Declaration
public List<string> AllowedTabs
Field Value
| Type |
Description |
| System.Collections.Generic.List<System.String> |
|
Declaration
public bool MviKeepTemplateTransform
Field Value
| Type |
Description |
| System.Boolean |
|
OverlayEffect
Declaration
public OverlayEffect OverlayEffect
Field Value
Values
Declaration
public IEnumerable<ImageItem.ImageItemValue> Values
Field Value
Properties
DisplayName
Declaration
public string DisplayName { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Effect
Declaration
public ImageEffect Effect { get; set; }
Property Value
ImagePermissions
Declaration
public ImagePermissions ImagePermissions { get; set; }
Property Value
IsUserImage
Declaration
public bool IsUserImage { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
NDEffects
Declaration
public NDEffects NDEffects { get; set; }
Property Value
OriginalImageSource
Declaration
public ImageItem.ImageSource OriginalImageSource { get; }
Property Value
Source
Declaration
public ImageItem.ImageSource Source { get; set; }
Property Value
UnconvertedSource
Declaration
public ImageItem.ImageSource UnconvertedSource { get; set; }
Property Value
ViolationSettings
Declaration
public ImageViolationSettings ViolationSettings { get; set; }
Property Value
Methods
Accept(ItemVisitor)
Declaration
public override Task Accept(ItemVisitor visitor)
Parameters
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
Overrides
Accept<T>(ItemVisitor<T>)
Declaration
public override Task<T> Accept<T>(ItemVisitor<T> visitor)
Parameters
Returns
| Type |
Description |
| System.Threading.Tasks.Task<T> |
|
Type Parameters
Overrides
Aurigma.DesignAtoms.Model.Items.RectangleItem.Accept<T>(Aurigma.DesignAtoms.Model.ItemVisitor<T>)
ApplyPermissionsConstrain()
Declaration
public override void ApplyPermissionsConstrain()
Overrides
ClearImageSources()
Declaration
public void ClearImageSources()
CopySourceToOriginalSource()
Declaration
public void CopySourceToOriginalSource()
CopySourceToUnconvertedSource()
Declaration
public void CopySourceToUnconvertedSource()
DeepClone<TItem>(TItem, Boolean)
Declaration
public override TItem DeepClone<TItem>(TItem clone = null, bool keepIds = false)
where TItem : ModelComponent
Parameters
| Type |
Name |
Description |
| TItem |
clone |
|
| System.Boolean |
keepIds |
|
Returns
Type Parameters
Overrides
Aurigma.DesignAtoms.Model.Items.ContentItem.DeepClone<TItem>(TItem, System.Boolean)
Equals(ImageItem)
Declaration
protected bool Equals(ImageItem other)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
| Type |
Name |
Description |
| System.Object |
obj |
|
Returns
| Type |
Description |
| System.Boolean |
|
Overrides
GetAllColors()
Declaration
public override IEnumerable<Color> GetAllColors()
Returns
| Type |
Description |
| System.Collections.Generic.IEnumerable<Color> |
|
Overrides
SetViolationSettings(ViolationSettings)
Declaration
protected override void SetViolationSettings(ViolationSettings value)
Parameters
Overrides
SubscribeToPermissionChanged()
Declaration
protected override void SubscribeToPermissionChanged()
Overrides
UnsubscribeFromPermissionChanged()
Declaration
protected override void UnsubscribeFromPermissionChanged()
Overrides
Implements
System.ComponentModel.INotifyPropertyChanged
System.ICloneable