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)
Syntaxpublic string LabelImage { get; set; }
Public Property LabelImage As String
Get
Set
public:
property String^ LabelImage {
String^ get ();
void set (String^ value);
}
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