Click or drag to resize

LTLPalletResponseV3LabelImage Property

[This is preliminary documentation and is subject to change.]

Label bitmap for laser printers. The bitmap is only generated if LabelType is set to Image.

Namespace:  Purolator.Webservice.Objects
Assembly:  OLS.Webservice.Objects (in OLS.Webservice.Objects.dll) Version: 9.3.0.21647 (9.3.0.21647)
Syntax
public string LabelImage { get; set; }

Property Value

Type: String
Remarks
Bitmap labels are png files encoded using Base64 encoding. To decode the image, you can use the following code in Microsoft .NET
Examples
byte[] byteArray = Convert.FromBase64String(package.LabelImage); MemoryStream ms = new MemoryStream(byteArray); Bitmap bm = new Bitmap(ms);
See Also