eVision .NET API
Loading...
Searching...
No Matches
eVision.EMailBarcode Class Reference

Manages a complete context for a Mail Barcode. More...

Inheritance diagram for eVision.EMailBarcode:
Collaboration diagram for eVision.EMailBarcode:

Public Member Functions

 EMailBarcode (eVision.EMailBarcode other)
 Constructs an EMailBarcode.
void Draw (eVision.EDrawAdapter adapter, float zoomX, float zoomY, float panX, float panY)
 Draws the bounding box of the mail barcode.
void Draw (eVision.EDrawAdapter adapter, float zoomX, float zoomY, float panX)
 Draws the bounding box of the mail barcode.
void Draw (eVision.EDrawAdapter adapter, float zoomX, float zoomY)
 Draws the bounding box of the mail barcode.
void Draw (eVision.EDrawAdapter adapter, float zoomX)
 Draws the bounding box of the mail barcode.
void Draw (eVision.EDrawAdapter adapter)
 Draws the bounding box of the mail barcode.
void Draw (IntPtr hDC, float zoomX, float zoomY, float panX, float panY)
 Draws the bounding box of the mail barcode.
void Draw (IntPtr hDC, float zoomX, float zoomY, float panX)
 Draws the bounding box of the mail barcode.
void Draw (IntPtr hDC, float zoomX, float zoomY)
 Draws the bounding box of the mail barcode.
void Draw (IntPtr hDC, float zoomX)
 Draws the bounding box of the mail barcode.
void Draw (IntPtr hDC)
 Draws the bounding box of the mail barcode.
void DrawDecodedString (eVision.EDrawAdapter drawAdapter, float zoomX, float zoomY, float panX, float panY)
 Draws the decoded string (EMailBarcode.Text), below the position of the EMailBarcode. The text color is the one of the pen of the drawAdapter or white if no pen is defined. The background color is the one of the brush of the drawAdapter or black if no brush is defined.
void DrawDecodedString (eVision.EDrawAdapter drawAdapter, float zoomX, float zoomY, float panX)
 Draws the decoded string (EMailBarcode.Text), below the position of the EMailBarcode. The text color is the one of the pen of the drawAdapter or white if no pen is defined. The background color is the one of the brush of the drawAdapter or black if no brush is defined.
void DrawDecodedString (eVision.EDrawAdapter drawAdapter, float zoomX, float zoomY)
 Draws the decoded string (EMailBarcode.Text), below the position of the EMailBarcode. The text color is the one of the pen of the drawAdapter or white if no pen is defined. The background color is the one of the brush of the drawAdapter or black if no brush is defined.
void DrawDecodedString (eVision.EDrawAdapter drawAdapter, float zoomX)
 Draws the decoded string (EMailBarcode.Text), below the position of the EMailBarcode. The text color is the one of the pen of the drawAdapter or white if no pen is defined. The background color is the one of the brush of the drawAdapter or black if no brush is defined.
void DrawDecodedString (eVision.EDrawAdapter drawAdapter)
 Draws the decoded string (EMailBarcode.Text), below the position of the EMailBarcode. The text color is the one of the pen of the drawAdapter or white if no pen is defined. The background color is the one of the brush of the drawAdapter or black if no brush is defined.
void DrawDecodedString (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY)
 Draws the decoded string (EMailBarcode.Text), below the position of the EMailBarcode. The text color is the one of the pen of the drawAdapter or white if no pen is defined. The background color is the one of the brush of the drawAdapter or black if no brush is defined.
void DrawDecodedString (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX)
 Draws the decoded string (EMailBarcode.Text), below the position of the EMailBarcode. The text color is the one of the pen of the drawAdapter or white if no pen is defined. The background color is the one of the brush of the drawAdapter or black if no brush is defined.
void DrawDecodedString (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, float zoomX, float zoomY)
 Draws the decoded string (EMailBarcode.Text), below the position of the EMailBarcode. The text color is the one of the pen of the drawAdapter or white if no pen is defined. The background color is the one of the brush of the drawAdapter or black if no brush is defined.
void DrawDecodedString (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, float zoomX)
 Draws the decoded string (EMailBarcode.Text), below the position of the EMailBarcode. The text color is the one of the pen of the drawAdapter or white if no pen is defined. The background color is the one of the brush of the drawAdapter or black if no brush is defined.
void DrawDecodedString (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame)
 Draws the decoded string (EMailBarcode.Text), below the position of the EMailBarcode. The text color is the one of the pen of the drawAdapter or white if no pen is defined. The background color is the one of the brush of the drawAdapter or black if no brush is defined.
void Draw (System.Drawing.Graphics hDC, float zoomX, float zoomY, float panX, float panY)
 Draws the bounding box of the mail barcode.
void Draw (System.Drawing.Graphics hDC, float zoomX, float zoomY, float panX)
 Draws the bounding box of the mail barcode.
void Draw (System.Drawing.Graphics hDC, float zoomX, float zoomY)
 Draws the bounding box of the mail barcode.
void Draw (System.Drawing.Graphics hDC, float zoomX)
 Draws the bounding box of the mail barcode.
void Draw (System.Drawing.Graphics hDC)
 Draws the bounding box of the mail barcode.

Properties

eVision.EMailBarcodeSymbologies Symbology [get]
 Returns the symbology of the mail barcode.
eVision.EMailBarcodeOrientation Orientation [get]
 Returns the orientation of the mail barcode.
string Text [get]
 Returns the full decoded text, also called decoded string, of the mail barcode.
eVision.EStringPair[] ComponentStrings [get]
 Returns the list of semantic parts included in the mail barcode text.
eVision.ERectangle Position [get]
 Returns the position of the mail barcode in the Image/ROI.
bool ChecksumOk [get]
 Returns if the checksum was successfully validated.

Detailed Description

Manages a complete context for a Mail Barcode.

License(s): EasyBarCode

Constructor & Destructor Documentation

◆ EMailBarcode()

eVision.EMailBarcode.EMailBarcode ( eVision.EMailBarcode other)

Constructs an EMailBarcode.

Parameters
otherThe other EMailBarcode that we will copy into this one.

Member Function Documentation

◆ Draw() [1/15]

void eVision.EMailBarcode.Draw ( eVision.EDrawAdapter adapter)

Draws the bounding box of the mail barcode.

Parameters
adapterEDrawAdapter that will be used to draw.

◆ Draw() [2/15]

void eVision.EMailBarcode.Draw ( eVision.EDrawAdapter adapter,
float zoomX )

Draws the bounding box of the mail barcode.

Parameters
adapterEDrawAdapter that will be used to draw.
zoomXHorizontal zooming factor. By default, true scale is used.

◆ Draw() [3/15]

void eVision.EMailBarcode.Draw ( eVision.EDrawAdapter adapter,
float zoomX,
float zoomY )

Draws the bounding box of the mail barcode.

Parameters
adapterEDrawAdapter that will be used to draw.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.

◆ Draw() [4/15]

void eVision.EMailBarcode.Draw ( eVision.EDrawAdapter adapter,
float zoomX,
float zoomY,
float panX )

Draws the bounding box of the mail barcode.

Parameters
adapterEDrawAdapter that will be used to draw.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

◆ Draw() [5/15]

void eVision.EMailBarcode.Draw ( eVision.EDrawAdapter adapter,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the bounding box of the mail barcode.

Parameters
adapterEDrawAdapter that will be used to draw.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

◆ Draw() [6/15]

void eVision.EMailBarcode.Draw ( IntPtr hDC)

Draws the bounding box of the mail barcode.

Parameters
hDCHandle of the device context on which to draw.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [7/15]

void eVision.EMailBarcode.Draw ( IntPtr hDC,
float zoomX )

Draws the bounding box of the mail barcode.

Parameters
hDCHandle of the device context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [8/15]

void eVision.EMailBarcode.Draw ( IntPtr hDC,
float zoomX,
float zoomY )

Draws the bounding box of the mail barcode.

Parameters
hDCHandle of the device context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [9/15]

void eVision.EMailBarcode.Draw ( IntPtr hDC,
float zoomX,
float zoomY,
float panX )

Draws the bounding box of the mail barcode.

Parameters
hDCHandle of the device context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [10/15]

void eVision.EMailBarcode.Draw ( IntPtr hDC,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the bounding box of the mail barcode.

Parameters
hDCHandle of the device context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [11/15]

void eVision.EMailBarcode.Draw ( System.Drawing.Graphics hDC)

Draws the bounding box of the mail barcode.

Parameters
hDCHandle of the device context on which to draw.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [12/15]

void eVision.EMailBarcode.Draw ( System.Drawing.Graphics hDC,
float zoomX )

Draws the bounding box of the mail barcode.

Parameters
hDCHandle of the device context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [13/15]

void eVision.EMailBarcode.Draw ( System.Drawing.Graphics hDC,
float zoomX,
float zoomY )

Draws the bounding box of the mail barcode.

Parameters
hDCHandle of the device context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [14/15]

void eVision.EMailBarcode.Draw ( System.Drawing.Graphics hDC,
float zoomX,
float zoomY,
float panX )

Draws the bounding box of the mail barcode.

Parameters
hDCHandle of the device context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [15/15]

void eVision.EMailBarcode.Draw ( System.Drawing.Graphics hDC,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the bounding box of the mail barcode.

Parameters
hDCHandle of the device context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawDecodedString() [1/10]

void eVision.EMailBarcode.DrawDecodedString ( eVision.EDrawAdapter drawAdapter)

Draws the decoded string (EMailBarcode.Text), below the position of the EMailBarcode. The text color is the one of the pen of the drawAdapter or white if no pen is defined. The background color is the one of the brush of the drawAdapter or black if no brush is defined.

Parameters
drawAdapterHandle of the graphics context on which to draw.

◆ DrawDecodedString() [2/10]

void eVision.EMailBarcode.DrawDecodedString ( eVision.EDrawAdapter drawAdapter,
eVision.EFrame frame )

Draws the decoded string (EMailBarcode.Text), below the position of the EMailBarcode. The text color is the one of the pen of the drawAdapter or white if no pen is defined. The background color is the one of the brush of the drawAdapter or black if no brush is defined.

Parameters
drawAdapterHandle of the graphics context on which to draw.
frameFrame associated with the bar code.

◆ DrawDecodedString() [3/10]

void eVision.EMailBarcode.DrawDecodedString ( eVision.EDrawAdapter drawAdapter,
eVision.EFrame frame,
float zoomX )

Draws the decoded string (EMailBarcode.Text), below the position of the EMailBarcode. The text color is the one of the pen of the drawAdapter or white if no pen is defined. The background color is the one of the brush of the drawAdapter or black if no brush is defined.

Parameters
drawAdapterHandle of the graphics context on which to draw.
frameFrame associated with the bar code.
zoomXHorizontal zooming factor. By default, true scale is used.

◆ DrawDecodedString() [4/10]

void eVision.EMailBarcode.DrawDecodedString ( eVision.EDrawAdapter drawAdapter,
eVision.EFrame frame,
float zoomX,
float zoomY )

Draws the decoded string (EMailBarcode.Text), below the position of the EMailBarcode. The text color is the one of the pen of the drawAdapter or white if no pen is defined. The background color is the one of the brush of the drawAdapter or black if no brush is defined.

Parameters
drawAdapterHandle of the graphics context on which to draw.
frameFrame associated with the bar code.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.

◆ DrawDecodedString() [5/10]

void eVision.EMailBarcode.DrawDecodedString ( eVision.EDrawAdapter drawAdapter,
eVision.EFrame frame,
float zoomX,
float zoomY,
float panX )

Draws the decoded string (EMailBarcode.Text), below the position of the EMailBarcode. The text color is the one of the pen of the drawAdapter or white if no pen is defined. The background color is the one of the brush of the drawAdapter or black if no brush is defined.

Parameters
drawAdapterHandle of the graphics context on which to draw.
frameFrame associated with the bar code.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

◆ DrawDecodedString() [6/10]

void eVision.EMailBarcode.DrawDecodedString ( eVision.EDrawAdapter drawAdapter,
eVision.EFrame frame,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the decoded string (EMailBarcode.Text), below the position of the EMailBarcode. The text color is the one of the pen of the drawAdapter or white if no pen is defined. The background color is the one of the brush of the drawAdapter or black if no brush is defined.

Parameters
drawAdapterHandle of the graphics context on which to draw.
frameFrame associated with the bar code.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

◆ DrawDecodedString() [7/10]

void eVision.EMailBarcode.DrawDecodedString ( eVision.EDrawAdapter drawAdapter,
float zoomX )

Draws the decoded string (EMailBarcode.Text), below the position of the EMailBarcode. The text color is the one of the pen of the drawAdapter or white if no pen is defined. The background color is the one of the brush of the drawAdapter or black if no brush is defined.

Parameters
drawAdapterHandle of the graphics context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.

◆ DrawDecodedString() [8/10]

void eVision.EMailBarcode.DrawDecodedString ( eVision.EDrawAdapter drawAdapter,
float zoomX,
float zoomY )

Draws the decoded string (EMailBarcode.Text), below the position of the EMailBarcode. The text color is the one of the pen of the drawAdapter or white if no pen is defined. The background color is the one of the brush of the drawAdapter or black if no brush is defined.

Parameters
drawAdapterHandle of the graphics context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.

◆ DrawDecodedString() [9/10]

void eVision.EMailBarcode.DrawDecodedString ( eVision.EDrawAdapter drawAdapter,
float zoomX,
float zoomY,
float panX )

Draws the decoded string (EMailBarcode.Text), below the position of the EMailBarcode. The text color is the one of the pen of the drawAdapter or white if no pen is defined. The background color is the one of the brush of the drawAdapter or black if no brush is defined.

Parameters
drawAdapterHandle of the graphics context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

◆ DrawDecodedString() [10/10]

void eVision.EMailBarcode.DrawDecodedString ( eVision.EDrawAdapter drawAdapter,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the decoded string (EMailBarcode.Text), below the position of the EMailBarcode. The text color is the one of the pen of the drawAdapter or white if no pen is defined. The background color is the one of the brush of the drawAdapter or black if no brush is defined.

Parameters
drawAdapterHandle of the graphics context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

Property Documentation

◆ ChecksumOk

bool eVision.EMailBarcode.ChecksumOk
get

Returns if the checksum was successfully validated.

◆ ComponentStrings

eVision.EStringPair [] eVision.EMailBarcode.ComponentStrings
get

Returns the list of semantic parts included in the mail barcode text.

◆ Orientation

eVision.EMailBarcodeOrientation eVision.EMailBarcode.Orientation
get

Returns the orientation of the mail barcode.

◆ Position

eVision.ERectangle eVision.EMailBarcode.Position
get

Returns the position of the mail barcode in the Image/ROI.

◆ Symbology

eVision.EMailBarcodeSymbologies eVision.EMailBarcode.Symbology
get

Returns the symbology of the mail barcode.

◆ Text

string eVision.EMailBarcode.Text
get

Returns the full decoded text, also called decoded string, of the mail barcode.