Search Results for

    Show / Hide Table of Contents

    Interface ICustomImage

    The system entity for a Custom Image, which holds images that can be configured to be used throughout the application

    See https://help.lemonedge.com/help/api/ui/custom-images/intro.html for more information

    Inherited Members
    IBaseEntity.GetLabel(string)
    IBaseEntity.SetLabel(string, string)
    IBaseEntity.SetSilentLabel(string, string)
    IBaseEntity.AccountID
    IBaseEntity.ID
    IBaseEntity.LastUpdated
    IBaseEntity.ModifiedByUserID
    IBaseEntity.CanvasID
    IBaseEntity.AlgorithmStepID
    IBaseEntity.SafeID
    IEquatable<IBaseEntity>.Equals(IBaseEntity)
    INotifyPropertyChanged.PropertyChanged
    INotifyPropertyChanging.PropertyChanging
    ICloneableAsync.Clone(object)
    ICloneableAsync.CopyFromSource(object)
    ICanTrackProperties.HasTrackedPropertyChanged(string)
    ICanTrackProperties.OriginalTrackedPropertyValue(string)
    ICanTrackProperties.OriginalTrackedPropertyValue<T>(string)
    ICanTrackProperties.ClearTrackedOriginalValues()
    ICanTrackProperties.GetAllOriginalTrackedPropertyValues()
    Namespace: LemonEdge.API.Entities.Design
    Assembly: LemonEdge.API.dll
    Syntax
    [EntityDefinition(EntityID.CustomImages, "dbo.LT_CustomImages", "CustomImage", LabelColumn = "Name", IsStandingDataEntity = true, HelpURL = "help/api/ui/custom-images/intro.html")]
    [DefaultEntityIcon(ImageType.Image)]
    public interface ICustomImage : IBaseEntityWithPermissions, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties

    Properties

    Description

    A helpful description of the image

    Declaration
    [EntityProperty(SQLType.NVarChar, 2500, true)]
    [EntityDescription("Description of this image.")]
    string Description { get; set; }
    Property Value
    Type Description
    string

    Image

    The image file to use.

    Declaration
    [EntityProperty(SQLType.VarBinary, false)]
    [EntityDescription("The custom image.")]
    byte[] Image { get; set; }
    Property Value
    Type Description
    byte[]

    ImageID

    This is the unique ID for this image to be used when referring to it from code. This ID enables the Custom Image to be reused across multiple different databases and still referenced by the same AddIn Modules and custom code.

    Declaration
    [EntityProperty(SQLType.UniqueIdentifier, false)]
    Guid ImageID { get; set; }
    Property Value
    Type Description
    Guid

    Name

    A unique user friendly name to identify this image.

    Declaration
    [EntityProperty(SQLType.NVarChar, 500, false)]
    [EntityKeyProperty]
    [EntityDescription("The unique name of this custom image.")]
    [Unique]
    [Required]
    string Name { get; set; }
    Property Value
    Type Description
    string

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.