Represents a Code. More...
Public Member Functions | |
| None | __init__ (self) |
| Creates an eVision.ECode object. | |
| None | __init__ (self, eVision.ECode other) |
| Creates an eVision.ECode object. | |
| eVision.ERegion | ToRegion (self) |
| Creates an eVision.ERegion from the eVision.ECode. | |
| eVision.EFrame | ToFrame (self, bool useAngle, eVision.EFrameScaling frameScaling) |
| Creates an eVision.EFrame from the eVision.ECode. | |
| eVision.EFrame | ToFrame (self, bool useAngle, eVision.EFrameScaling frameScaling, eVision.EFrame frame) |
| Creates an eVision.EFrame from the eVision.ECode. | |
| None | DrawPosition (self, eVision.EDrawAdapter|None graphicsContext, float zoomX, float zoomY, float panX, float panY) |
| Draws the Position of the Code. | |
| None | DrawPosition (self, eVision.EDrawAdapter|None graphicsContext, float zoomX, float zoomY, float panX) |
| Draws the Position of the Code. | |
| None | DrawPosition (self, eVision.EDrawAdapter|None graphicsContext, float zoomX, float zoomY) |
| Draws the Position of the Code. | |
| None | DrawPosition (self, eVision.EDrawAdapter|None graphicsContext, float zoomX) |
| Draws the Position of the Code. | |
| None | DrawPosition (self, eVision.EDrawAdapter|None graphicsContext) |
| Draws the Position of the Code. | |
| None | DrawPosition (self, eVision.EDrawAdapter|None graphicsContext, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY) |
| Draws the Position of the Code. | |
| None | DrawPosition (self, eVision.EDrawAdapter|None graphicsContext, eVision.EFrame frame, float zoomX, float zoomY, float panX) |
| Draws the Position of the Code. | |
| None | DrawPosition (self, eVision.EDrawAdapter|None graphicsContext, eVision.EFrame frame, float zoomX, float zoomY) |
| Draws the Position of the Code. | |
| None | DrawPosition (self, eVision.EDrawAdapter|None graphicsContext, eVision.EFrame frame, float zoomX) |
| Draws the Position of the Code. | |
| None | DrawPosition (self, eVision.EDrawAdapter|None graphicsContext, eVision.EFrame frame) |
| Draws the Position of the Code. | |
| str | DecodedString (self) |
| Decoded code string. | |
| bool | IsGS1 (self) |
| Returns whether the decoded string uses the GS1 standard. | |
| eVision.EQuadrangle | Position (self) |
| Code position. | |
| eVision.EPoint | Center (self) |
| Returns the center of the eVision.ECode. | |
| float | SizeX (self) |
| Returns the size of the eVision.ECode on its X axis. | |
| float | SizeY (self) |
| Returns the size of the eVision.ECode on its Y axis. | |
| float | Angle (self) |
| Returns the angle of the eVision.ECode as if it was an eVision.ERectangle. | |
| eVision.ECodeType | CodeType (self) |
| Code type. | |
| eVision.EasyMatrixCode2.EMatrixCode | MatrixCode (self) |
| Returns the eVision.EasyMatrixCode2.EMatrixCode contained in the eVision.ECode. | |
| eVision.EasyBarCode2.EBarCode | BarCode (self) |
| Returns the eVision.EasyBarCode2.EBarCode contained in the eVision.ECode. | |
| eVision.EQRCode | QRCode (self) |
| Returns the eVision.EQRCode contained in the eVision.ECode. | |
Represents a Code.
Remarks:
License(s): EasyMatrixCode and EasyBarCode and EasyQRCode
| None eVision.ECode.__init__ | ( | self | ) |
Creates an eVision.ECode object.
| None eVision.ECode.__init__ | ( | self, | |
| eVision.ECode | other ) |
Creates an eVision.ECode object.
| other | Another eVision.ECode object to be copied in the new eVision.ECode object. |
| float eVision.ECode.Angle | ( | self | ) |
Returns the angle of the eVision.ECode as if it was an eVision.ERectangle.
| eVision.EasyBarCode2.EBarCode eVision.ECode.BarCode | ( | self | ) |
Returns the eVision.EasyBarCode2.EBarCode contained in the eVision.ECode.
Throws an exception if there is none.
| eVision.EPoint eVision.ECode.Center | ( | self | ) |
Returns the center of the eVision.ECode.
| eVision.ECodeType eVision.ECode.CodeType | ( | self | ) |
Code type.
| str eVision.ECode.DecodedString | ( | self | ) |
Decoded code string.
| None eVision.ECode.DrawPosition | ( | self, | |
| eVision.EDrawAdapter | None | graphicsContext ) |
Draws the Position of the Code.
| graphicsContext | Handle of the graphics context on which to draw. |
| None eVision.ECode.DrawPosition | ( | self, | |
| eVision.EDrawAdapter | None | graphicsContext, | ||
| eVision.EFrame | frame ) |
Draws the Position of the Code.
| graphicsContext | Handle of the graphics context on which to draw. |
| frame | Frame associated with the bar code. |
| None eVision.ECode.DrawPosition | ( | self, | |
| eVision.EDrawAdapter | None | graphicsContext, | ||
| eVision.EFrame | frame, | ||
| float | zoomX ) |
Draws the Position of the Code.
| graphicsContext | Handle of the graphics context on which to draw. |
| frame | Frame associated with the bar code. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| None eVision.ECode.DrawPosition | ( | self, | |
| eVision.EDrawAdapter | None | graphicsContext, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the Position of the Code.
| graphicsContext | Handle of the graphics context on which to draw. |
| frame | Frame associated with the bar code. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| None eVision.ECode.DrawPosition | ( | self, | |
| eVision.EDrawAdapter | None | graphicsContext, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the Position of the Code.
| graphicsContext | Handle of the graphics context on which to draw. |
| frame | Frame associated with the bar code. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| None eVision.ECode.DrawPosition | ( | self, | |
| eVision.EDrawAdapter | None | graphicsContext, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the Position of the Code.
| graphicsContext | Handle of the graphics context on which to draw. |
| frame | Frame associated with the bar code. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
| None eVision.ECode.DrawPosition | ( | self, | |
| eVision.EDrawAdapter | None | graphicsContext, | ||
| float | zoomX ) |
Draws the Position of the Code.
| graphicsContext | Handle of the graphics context on which to draw. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| None eVision.ECode.DrawPosition | ( | self, | |
| eVision.EDrawAdapter | None | graphicsContext, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the Position of the Code.
| graphicsContext | Handle of the graphics context on which to draw. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| None eVision.ECode.DrawPosition | ( | self, | |
| eVision.EDrawAdapter | None | graphicsContext, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the Position of the Code.
| graphicsContext | Handle of the graphics context on which to draw. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| None eVision.ECode.DrawPosition | ( | self, | |
| eVision.EDrawAdapter | None | graphicsContext, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the Position of the Code.
| graphicsContext | Handle of the graphics context on which to draw. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
| bool eVision.ECode.IsGS1 | ( | self | ) |
Returns whether the decoded string uses the GS1 standard.
| eVision.EasyMatrixCode2.EMatrixCode eVision.ECode.MatrixCode | ( | self | ) |
Returns the eVision.EasyMatrixCode2.EMatrixCode contained in the eVision.ECode.
Throws an exception if there is none.
| eVision.EQuadrangle eVision.ECode.Position | ( | self | ) |
Code position.
If the eVision.ECode represents an eVision.EQRCode object, the eVision.EQuadrangle's corners are in the following order: top right, top left, bottom left, bottom right. If the eVision.ECode represents an eVision.EasyBarCode2.EBarCode or eVision.EasyMatrixCode2.EMatrixCode object, the eVision.EQuadrangle's corners are in the following order: top left, top right, bottom right, bottom left.
| eVision.EQRCode eVision.ECode.QRCode | ( | self | ) |
Returns the eVision.EQRCode contained in the eVision.ECode.
Throws an exception if there is none.
| float eVision.ECode.SizeX | ( | self | ) |
Returns the size of the eVision.ECode on its X axis.
This corresponds to the mean between the sizes of the top and bottom sides of the eVision.ECode.
| float eVision.ECode.SizeY | ( | self | ) |
Returns the size of the eVision.ECode on its Y axis.
This corresponds to the mean between the sizes of the left and right sides of the eVision.ECode.
| eVision.EFrame eVision.ECode.ToFrame | ( | self, | |
| bool | useAngle, | ||
| eVision.EFrameScaling | frameScaling ) |
Creates an eVision.EFrame from the eVision.ECode.
| useAngle | Whether to use the angle of the eVision.ECode in the frame. |
| frameScaling | How to handle the scale of the frame. eVision.EFrameScaling.UseScaling is not supported. |
| eVision.EFrame eVision.ECode.ToFrame | ( | self, | |
| bool | useAngle, | ||
| eVision.EFrameScaling | frameScaling, | ||
| eVision.EFrame | frame ) |
Creates an eVision.EFrame from the eVision.ECode.
| useAngle | Whether to use the angle of the eVision.ECode in the frame. |
| frameScaling | How to handle the scale of the frame. eVision.EFrameScaling.UseScaling is not supported. |
| frame | Parent frame. Used when the eVision.ECode was read using a frame. |
| eVision.ERegion eVision.ECode.ToRegion | ( | self | ) |
Creates an eVision.ERegion from the eVision.ECode.