Show / Hide Table of Contents

Class ImageItemUtils

Provides some utilities related to ImageItem objects.

Inheritance
System.Object
ImageItemUtils
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Neodynamic.Windows.ThermalLabelEditor
Assembly: cs.temp.dll.dll
Syntax
public class ImageItemUtils

Methods

ConvertToBitmap(SDK.Printing.ImageItem)

Converts an ImageItem object to a bitmap (System.Windows.Media.Imaging.WriteableBitmap) object.

Declaration
public static Windows.Media.Imaging.WriteableBitmap ConvertToBitmap(SDK.Printing.ImageItem imageItem)
Parameters
Type Name Description
SDK.Printing.ImageItem imageItem

The ImageItem object.

Returns
Type Description
System.Windows.Media.Imaging.WriteableBitmap

A bitmap (System.Windows.Media.Imaging.WriteableBitmap) which represents the ImageItem object.

ConvertToGdiBitmap(SDK.Printing.ImageItem)

Converts an ImageItem object to a bitmap (System.Drawing.Bitmap) object.

Declaration
public static Drawing.Bitmap ConvertToGdiBitmap(SDK.Printing.ImageItem imageItem)
Parameters
Type Name Description
SDK.Printing.ImageItem imageItem

The ImageItem object.

Returns
Type Description
System.Drawing.Bitmap

A bitmap (System.Drawing.Bitmap) which represents the ImageItem object.

Back to top Copyright © 2003- Neodynamic SRL
http://www.neodynamic.com