Click or drag to resize

PictureErrors Enumeration

Documentation home page
Picture errors thrown during validation

Namespace:  Ricardo.Enums
Assembly:  Ricardo.Enums (in Ricardo.Enums.dll) Version: 1.1.15308.4 (1.1.15308.4)
Syntax
public enum PictureErrors
Members
  Member nameValueDescription
MaxPicturesCountReached1 returned when a customer tries to add more picture than the business limit
MaxPictureSizeReached2 pictures size exceed the business limit, see Ricardo.Core.BusinessSettings.MaxPictureFileSize
ErrorResizingPicture3 happens when a technical error occurs while resizing a given picture. the picture index is given in ErrorDetails as int
PictureIndexDoesNotExist4 the given picture index can't be update because it does not exist on the live article. the picture index is given in ErrorDetails as int
EmptyPictureContent5 the content of the picture was not passed or cannot be retreived. the picture index is given in ErrorDetails as int
NoPictures6 pictures array is empty or null
InvalidPictureIndex7 Used when the PictureIndex property of a Picture object is set to an invalid value (ex: 0 or negative value)
MaxLogoPictureSizeReached8 pictures size exceed the business limit, see Ricardo.Core.BusinessSettings.MaxLogoPictureFileSize
ErrorResizingLogoPicture9 happens when a technical error occurs while resizing a given logo picture.
InvalidPictureIndexOrder10 The picture indexes specified do not follow each other
BothPictureContentDefined16 You must specify either PictureBytes or PictureBytesAsBase64. Not both.
InvalidBase64String17 The base64 string is not properly encoded.
InvalidConnectionIndex18 Every used index must be present in source index array, and in destination index array.
IndexMustBeUnique19 You should not specify multiple time the same index in the list of OriginalIndex or in the list of TargetIndex.
TooManyChangesRequested20 The number of changes requested is bigger than the number of article pictures
See Also