Click or drag to resize

ZebraCardGraphics Class

Used to create graphics for Zebra Card printers.
Inheritance Hierarchy
SystemObject
  Zebra.Sdk.Card.GraphicsZebraCardGraphics

Namespace:  Zebra.Sdk.Card.Graphics
Assembly:  SdkApi_Card_Desktop (in SdkApi_Card_Desktop.dll) Version: 2.14.1989
Syntax
public class ZebraCardGraphics : ZebraGraphics, 
	ZebraGraphicsI, IDisposable

The ZebraCardGraphics type exposes the following members.

Constructors
  NameDescription
Public methodZebraCardGraphics
Public Constructor to construct the ZebraCardGraphics object.
Top
Properties
  NameDescription
Public propertyBrightnessLevel
Sets the brightness correction level to be applied during CreateImage.
Public propertyContrastLevel
Sets the contrast correction level to be applied during CreateImage.
Public propertyGammaLevel
Sets the gamma correction level to be applied during CreateImage.
Public propertyMonochromeConverionType
Gets or Sets the monochrome conversion type to be used during CreateImage.
Public propertyPrinterModel
Gets or Sets the printer model for use when creating or processing graphic images.
Public propertySaturationLevel
Public propertySmoothingMode
Gets or sets the quality of the graphics rendering.
Public propertyTextContrast
Gets or sets the gamma correction level used for rendering text.
Public propertyTextRenderingHint
Gets or sets the quality of the text rendering.
Top
Methods
  NameDescription
Public methodClear
Clears the drawing surface and all user specified parameters.
Public methodClose
Releases all resources.
Public methodColorFromInteger
Converts a valid ARGB integer value to a Color object.
Public methodCreateImage
Generates the final bitmap image.
Public methodCreateImage(String)
Generates the final bitmap image.
Public methodCropImage
Crops an image to the supplied dimensions.
Public methodDispose
Releases all resources.
Public methodDrawEllipse
Draws an ellipse at the specified coordinates.
Public methodDrawImage(Byte, Int32, Int32, Int32, Int32, RotationType)
Draws the image into the specified rectangle.
Public methodDrawImage(Byte, ImagePosition, Int32, Int32, Single, RotationType)
Draws the image at the specified image position in the rectangle.
Public methodDrawImage(Byte, Int32, Int32, Int32, Int32, Single, RotationType)
Draws the image into the specified rectangle.
Public methodDrawLine
Draws a line from/to the specified coordinates.
Public methodDrawRectangle
Draws a rectangle at the specified coordinates.
Public methodDrawRoundedRectangle
Draws a round-cornered rectangle at the specified coordinates.
Public methodDrawText(String, Font, Color, Int32, Int32)
Draws the text at the specified x and y coordinates.
Public methodDrawText(String, Font, Color, Int32, Int32, Int32)
Draws the text at the specified x and y coordinates and center rotates the text to the specified angle.
Public methodDrawText(String, Font, Color, Int32, Int32, Int32, Int32, Int32)
Draws the text into the specified rectangle.
Public methodDrawText(String, Font, Color, Int32, Int32, Int32, Int32, Int32, Boolean)
Draws the text into the specified rectangle, optionally reducing the size of the font to fit the specified rectangle.
Public methodDrawText(String, Font, Color, Int32, Int32, Int32, Int32, Int32, TextAlignment, TextAlignment)
Draws the text into the specified rectangle using the specified alignments.
Public methodDrawText(String, Font, Color, Int32, Int32, Int32, Int32, Int32, TextAlignment, TextAlignment, Boolean)
Draws the text into the specified rectangle using the specified alignments, optionally reducing the size of the font to fit the specified rectangle.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExtractBlackImageData
Separates the monochrome and color data from the specified image data using the specified threshold values.
Public methodExtractHalfPanelImageData
Attempts to identify and extract the color and non-color half panel regions of the source image.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodImageDataToImage
Converts image data to an Image object.
Public methodImageToImageData
Converts an image to a byte array.
Public methodInitialize(Int32, Int32, OrientationType, PrintType, NullableColor)
Initializes the drawing surface.
Public methodInitialize(Int32, Int32, OrientationType, PrintType, NullableInt32)
Initializes the drawing surface.
Public methodRotateImage(Byte, RotationType)
Rotates the image by the specified rotationType.
Public methodRotateImage(Byte, Int32, Int32, RotationType)
Rotates the image by the specified rotationType and then resizes it.
Public methodSetColorScale
Sets the color scale correction values for red, green, and blue pixel values during CreateImage.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also