SdkApi.Card.Desktop
Default constructor called by reflection
Default constructor called by reflection
Default constructor called by reflection
Default constructor called by reflection
Bool to determine if the discovery has completed.
Base interface used for drawing a barcode.
Gets or sets whether a checksum should be generated and attached to the value to encode.
Gets or sets whether the checksum value should be displayed after the value to encode in the barcode image.
Gets or Sets whether AntiAlias effect should be applied to all the text in the barcode image.
Get or set the barcode image height if the AutoSize property is set to false.
If the specified Height is invalid.
Get or set the width of the barcode image if the AutoSize property is set to false.
If the specified Width is invalid.
Get or set the height of the margin above the barcode bars.
If the specified TopMargin is invalid.
Gets or Sets the margin below the barcode bars.
If the specified BottomMargin is invalid.
Gets or sets the bar width adjustment.
If the specified BarWidthAdjustment is invalid.
Get or set the Human Readable Text to be displayed instead of the value to encode specified in the ValueToEncode property.
Get or set whether the Human Readable Text is formatted as specified by HIBC standards.
Zeros are displayed as Slashed-Zeros and the space character is displayed as an underscore.
Gets or Sets the background color.
Get or set the Font object used when rendering Code and Human Readable text.
Get or set the text color to use when rendering Code and Human Readable text.
Gets or Sets the color of the bars.
Gets or Sets the bars height.
If the specified BarHeight is invalid.
Gets or Sets the wide bars' width compared to the narrow bars' width.
If the specified BarRatio is invalid.
Gets or Sets the narrow bars' width.
If the specified BarWidth is invalid.
Gets or Sets the barcode control border color.
Gets or Sets the barcode border width.
If the specified BorderWidth is invalid.
Reset all properties to default values
Gets or Sets whether start and stop characters should be displayed.
Gets or Sets whether the value to encode will be displayed in the barcode image.
Gets or Sets the text alignment for the DisplayCode property.
Gets or Sets the quiet zones' width.
If the specified QuietZoneWidth is invalid.
Gets or Sets whether quiet zones are used for drawing Text and/or Code properties.
Gets or Sets the value to encode.
Gets or Sets additional text to show in the barcode image.
This is not the value to encode.
Get or set the Font object for use when rendering the DisplayText property.
Get or set the text color when rendering the DisplayText property.
Gets or sets the text alignment for the DisplayText property.
Get or set the rotation angle to apply to the barcode.
Get or set the TextFontUnderline to apply to the barcode.
Draws the selected barcode symbology into a user defined rectangle.
The x coordinate.
The y coordinate.
The width of the rectangle.
The height of the rectangle.
If any of the arguments are invalid or the value to encode is not valid for the selected barcode symbology type.
If an error occurs while rendering the barcode image.
Interface used to configure and draw a Code128 barcode.
Gets or sets the character set to be used with a Code128 barcode.
Interface used to configure and draw a Code39 barcode.
Gets or sets whether the extended version for Code39 barcodes should be used.
Interface used to configure and draw an EAN barcode.
Gets or Sets whether light margin indicators should be displayed in the barcode.
Gets or Sets the supplement value to use for EAN barcode types.
If the specified SupplementCode is invalid.
Gets or Sets the gap separation between the barcode and its supplement.
Measured in inches.
If the specified SupplementSeparation is invalid.
Gets or Sets the height of the margin above the EAN supplement bars.
If the specified SupplementTopMargin is invalid.
Gets or Sets whether guard bars should be drawn.
Gets or Sets the height of the guard bars.
If the specified GuardBarHeight is invalid.
Gets or Sets the supplement type to use.
Interface used to configure and draw a PDF417 barcode.
Gets or Sets the ratio of the height to the overall width.
Range is 0 to 1.
If the specified AspectRatio is invalid.
Gets or Sets the number of columns to use.
If the specified Columns is invalid.
Gets or Sets the File ID of the Macro PDF417 symbol.
Value must be a sequence of codewords (each value between 0 and 899) and must be the same for all data segments.
If the specified FileID is invalid.
Gets or Sets the number of rows to use.
If the specified Rows is invalid.
Gets or Sets the number of Macro PDF417 symbols.
Value must be less than or equal to 99999.
If the specified SegmentCount is invalid.
Gets or Sets the Segment Index for a Macro PDF417 symbol.
Value must be 0 to 99998 and less than the value of the SegmentCount property.
If the specified SegmentIndex is invalid.
Gets or Sets whether the right side of the barcode is removed.
Gets or Sets the Compaction type to apply.
Gets or Sets the error correction level to apply.
Specifies the rotation of the barcode.
No rotation.
90 degree rotation.
180 degree rotation.
270 degree rotation.
The character set to use with the Code128 barcode symbology.
Automatically switch between code sets to encode the ASCII values.
Utilize Char Set A which only supports ASCII values from 0 to 95.
Utilize Char Set B which only supports ASCII values from 32 to 127.
Utilize Char Set C which only supports pairs of digits.
Specifies the Compaction Type to apply for PDF417 symbology.
Switch between text, binary and numeric modes in order to minimize the number of codewords to be encoded.
Allows encoding all 256 possible 8-bit byte values. This includes all ASCII characters value from 0 to 127
inclusive and provides for international character set support.
Allows encoding all printable ASCII characters, i.e. values from 32 to 126 inclusive in accordance with ISO/IEC 646,
as well as selected control characters such as TAB (horizontal tab ASCII 9), LF (NL line feed, new line ASCII 10) and
CR (carriage return ASCII 13).
It allows encoding numeric data strings.
Specifies the Error Correction Level to apply to the PDF417 symbology.
Level 0.
Level 1.
Level 2.
Level 3.
Level 4.
Level 5.
Level 6.
Level 7.
Level 8.
Specifies the QRCode version to use.
Version 1 (21 x 21 modules) to Version 40 (177 x 177 modules) increasing in steps of four modules per side.
Auto.
Version 1.
Version 2.
Version 3.
Version 4.
Version 5.
Version 6.
Version 7.
Version 8.
Version 9.
Version 10.
Version 11.
Version 12.
Version 13.
Version 14.
Version 15.
Version 16.
Version 17.
Version 18.
Version 19.
Version 20.
Version 21.
Version 22.
Version 23.
Version 24.
Version 25.
Version 26.
Version 27.
Version 28
Version 29.
Version 30.
Version 31.
Version 32.
Version 33.
Version 34.
Version 35.
Version 36.
Version 37.
Version 38.
Version 39.
Version 40.
Specifies the QRCode encoding type to use.
Attempt to determine encoding type automatically.
Used to encode data that mainly contains numeric characters.
Used to encode data that mainly contains alphanumeric characters.
Used to encode data that mainly contains Kanji characters.
Used to encode 8 bit values.
Specifies the Error Correction Level to apply to the QRCode symbology.
Approx. 7% of codewords can be restored. Error correction level L is appropriate for high symbol
quality and/or the need for the smallest possible symbol.
Approx. 15% of codewords can be restored. Level M is described as Standard level and offers a
good compromise between small size and increased reliability.
Approx. 25% of codewords can be restored. Level Q is a High reliability level and suitable for
more critical or poor print quality applications.
Approx. 30% of codewords can be restored. Level H offers the maximum achievable reliability.
Specifies the supplement type to use with the EAN barcode.
Interface used to configure and draw a QRCode barcode.
Gets or Sets the code version to use.
Gets or Sets the encoding type to use.
Gets or Sets the error correction level to apply.
Gets or Sets the module size of the QRCode.
If the specified ModuleSize is invalid.
Gets or Sets the encoding name (code page) to be used for the QRCode byte compaction mode.
Default is IS0-8859-1.
If the specified EncodingName is invalid.
Gets or Sets whether the tilde character will be processed when generating the QRCode.
Factory used to acquire an instance of a font specific barcode object.
Returns the barcode utilites class for Code39 barcodes.
Instance of ZebraGraphics.
Instance of Code39Util.
If graphics object is null.
Returns the barcode utilites class for Code128 barcodes.
Instance of ZebraGraphics.
Instance of Code128Util.
If graphics object is null.
Returns the barcode utilites class for EAN8 barcodes.
Instance of ZebraGraphics.
Instance of CodeEANUtil for the specified EAN barcode type.
If graphics object is null.
Returns the barcode utilites class for EAN13 barcodes.
Instance of ZebraGraphics.
Instance of CodeEANUtil for the specified EAN barcode type.
If graphics object is null.
Returns the barcode utilites class for EAN13 barcodes.
Instance of ZebraGraphics.
Instance of CodeEANUtil for the specified EAN barcode type.
If graphics object is null.
Returns the barcode utilites class for QRCode barcodes.
Instance of ZebraGraphics.
Instance of QRCodeUtil.
If graphics object is null.
Applies specified color profile to given image imageData.
Path to icc/icm profile to apply.
Image imageData to apply color profile to.
Image imageData with updated color profile.
Assigns the content of a to b and the content of b to a.
Parameter type
Value to assign to b parameter
Value to assign to a parameter
Set pallete of the image to grayscale
Image to initialize
The method initializes palette of Format8bppIndexed image with 256 gradients of gray color.
Locate the color part of the image based on the chroma.
Image data
Image width
Image height
Max width for half panel image
Chroma instance containing the left and right edges of the color image
Used to create graphics for Zebra Card printers.
Public Constructor to construct the ZebraCardGraphics object.
An instance of a zebra card printer.
If the device is busy or an error occurs communicating with the printer.
If a printer error occurs.
Converts a valid ARGB integer value to a Color object.
The ARGB value.
The corresponding Color object.
If there is an error with the provided argument.
Releases all resources.
Interface for Zebra card printer graphics.
Demonstrates how to print graphics objects utilizing the color, mono, and overlay ribbon panels.
Initializes the drawing surface.
If the specified maxWidth or maxHeight is 0 then the maximum values for the specified printer model will be used.
The maximum width of the image. (limited based on printer model)
The maximum height of the image. (limited based on printer model)
The orientation of the image.
The type of print to be performed.
The background fill color. (default is White or 0xffffff)
If there is an error with the provided arguments.
If an error occurs initializing the graphics objects.
Generates the final bitmap image.
Path to the ICC/ICM color profile to apply to the image.
Instance containing the bitmap image data.
If an error occurs while rendering the image.
Draws a line from/to the specified coordinates.
The x and y coordinates of the start point.
The x and y coordinates of the end point.
The line thickness.
The line color.
If there is an error with the provided arguments.
If an error occurs while rendering the line.
Draws the text at the specified x and y coordinates.
The text to be drawn.
The font type.
The text color.
The x coordinate.
The y coordinate.
If there is an error with the provided arguments.
If an error occurs while rendering the text.
Draws the text at the specified x and y coordinates and center rotates the text to the specified angle.
The text to be drawn.
The font type.
The text color.
The x coordinate.
The y coordinate.
The angle of the the text to be drawn (center rotated).
If there is an error with the provided arguments.
If an error occurs while rendering the text.
Draws the text into the specified rectangle.
The text to be drawn.
The font type.
The text color.
The x coordinate.
The y coordinate.
The width of the rectangle.
The height of the rectangle.
The angle of the the text to be drawn (center rotated).
If there is an error with the provided arguments.
If an error occurs while rendering the text.
Draws the text into the specified rectangle, optionally reducing the size of the font to fit the specified rectangle.
The text to be drawn.
The font type.
The text color.
The x coordinate.
The y coordinate.
The width of the rectangle.
The height of the rectangle.
The angle of the the text to be drawn (center rotated).
True to reduce the font size to fit the specified width and height.
If there is an error with the provided arguments.
If an error occurs while rendering the text.
Draws the text into the specified rectangle using the specified alignments.
The text to be drawn.
The font type.
The text color.
The x coordinate.
The y coordinate.
The width of the rectangle.
The height of the rectangle.
The angle of the the text to be drawn (center rotated).
The horizontal alignment of the text.
The vertical alignment of the text.
If there is an error with the provided arguments.
If an error occurs while rendering the text.
Draws the text into the specified rectangle using the specified alignments, optionally reducing the size of the font to fit the specified rectangle.
The text to be drawn.
The font type.
The text color.
The x coordinate.
The y coordinate.
The width of the rectangle.
The height of the rectangle.
The angle of the the text to be drawn (center rotated).
The horizontal alignment of the text.
The vertical alignment of the text.
True to reduce the font size to fit the specified width and height.
If there is an error with the provided arguments.
If an error occurs while rendering the text.
Draws a rectangle at the specified coordinates.
The x coordinate.
The y coordinate.
The width of the rectangle.
The height of the rectangle.
The line thickness of the rectangle.
- The lineThickness will be ignored if the lineColor is null.
The line color of the rectangle.
- The lineColor will be ignored if null.
The fill color of the rectangle.
- The fillColor will be ignored if null.
If there is an error with the provided arguments.
If an error occurs while rendering the rectangle.
Draws a round-cornered rectangle at the specified coordinates.
The x coordinate.
The y coordinate.
The width of the rectangle.
The height of the rectangle.
The corner radius of the rectangle.
The line thickness of the rectangle.
- The lineThickness will be ignored if the lineColor is null.
The line color of the rectangle.
- The lineColor will be ignored if null.
The fill color of the rectangle.
- The fillColor will be ignored if null.
If there is an error with the provided arguments.
If an error occurs while rendering the rectangle.
Draws an ellipse at the specified coordinates.
The x coordinate.
The y coordinate.
The width of the ellipse.
The height of the ellipse.
The line thickness of the ellipse.
- The lineThickness will be ignored if the lineColor is null.
The line color of the ellipse.
- The lineColor will be ignored if null.
The fill color of the ellipse.
- The fillColor will be ignored if null.
If there is an error with the provided arguments.
If an error occurs while rendering the ellipse.
Gets or sets the quality of the text rendering.
must be called prior to setting this value.
Gets or sets the quality of the graphics rendering.
must be called prior to setting this value.
Gets or sets the gamma correction level used for rendering text.
Value must be between 0 and 12. The default value is 4.
Converts an image to a byte array.
The Image object.
The raw image data from the specified image.
If there is an error with the provided arguments.
If an error occurs while converting the Image to raw data.
Converts image data to an Image object.
The raw image data.
An Image object created from the specified imageData.
If there is an error with the provided arguments.
If an error occurs while converting the bitmap image data to an Image object.
Returns list of template fields.
Name of the template or the xml formatted template data.
List containing the template field names.
Class for managing template related operations.
Constructs a ZebraCardTemplate object.
Instance of ZebraCardPrinter object.
Defines function used to discover information about a Zebra Card Printer.
Reads the discovery packet from the provided connection.
A to a Zebra Card Printer.
A Dictionary object containing the discovery information.
If the connection is invalid.
DiscoveredPrinterFilter implementation that filters out all unsupported devices.
Determines if the discoveredPrinter is a supported Zebra Card Printer.
The discovered printer.
True if the discoveredPrinter is a supported Zebra Card Printer.