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 |
Fields
BackgroundColor
Name of a product for display purposes.
Declaration
public string BackgroundColor
Field Value
Type | Description |
---|---|
System.String |
ImageData
Image data.
Declaration
public byte[] ImageData
Field Value
Type | Description |
---|---|
System.Byte[] |
ImageFileFormat
Image file format of image data.
Declaration
public ImageFileFormat ImageFileFormat
Field Value
Type | Description |
---|---|
ImageFileFormat |
ImageFileHeight
Image height in pixels.
Declaration
public int ImageFileHeight
Field Value
Type | Description |
---|---|
System.Int32 |
ImageFileWidth
Image width in pixels.
Declaration
public int ImageFileWidth
Field Value
Type | Description |
---|---|
System.Int32 |
ProductDisplayName
Name of a product for display purposes.
Declaration
public string ProductDisplayName
Field Value
Type | Description |
---|---|
System.String |
Methods
ToString()
String representation.
Declaration
public override String ToString()
Returns
Type | Description |
---|---|
String |