Class DisplayProductInfo
Holds a product picture and related information for display.
For use by value added services.
The image is stored as byte array containing the image data.
Inheritance
System.Object
DisplayProductInfo
Namespace: SIX.TimApi
Assembly: TimApi.dll
Syntax
public class DisplayProductInfo : object
Constructors
DisplayProductInfo()
Create empty display product info.
Declaration
public DisplayProductInfo()
DisplayProductInfo(DisplayProductInfo)
Create copy of display product info.
Declaration
public DisplayProductInfo(DisplayProductInfo dpi)
Parameters
Type | Name | Description |
---|---|---|
DisplayProductInfo | dpi |
Properties
BackgroundColor
Name of a product for display purposes.
Declaration
public string BackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ImageData
Image data.
Declaration
public byte[] ImageData { get; set; }
Property Value
Type | Description |
---|---|
System.Byte[] |
ImageFileFormat
Image file format of image data.
Declaration
public ImageFileFormat ImageFileFormat { get; set; }
Property Value
Type | Description |
---|---|
ImageFileFormat |
ImageFileHeight
Image height in pixels.
Declaration
public int ImageFileHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ImageFileWidth
Image width in pixels.
Declaration
public int ImageFileWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ProductDisplayName
Name of a product for display purposes.
Declaration
public string ProductDisplayName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
ToString()
String representation.
Declaration
public override String ToString()
Returns
Type | Description |
---|---|
String |