Class BarcodeDetectorSettings
- Namespace
- VisioForge.Core.Types.X
- Assembly
- VisioForge.Core.dll
Settings for VisioForge.Core.MediaBlocks.Special.BarcodeDetectorBlock. The block takes its mode as a bare VisioForge.Core.Types.X.BarcodeDetectorMode; this type is the serializable form of it, so a pipeline document can carry a barcode stage and the block catalog can describe and build one.
public class BarcodeDetectorSettings : IMediaBlockSettingsInheritance
Implements
Inherited Members
Remarks
The mode decides the block's pad layout at construction - VisioForge.Core.Types.X.BarcodeDetectorMode.InputOnly gives it no output pad at all - so it is set here rather than changed on a built block.
Properties
Mode
Gets or sets whether the detector passes its input through to an output pad. Default is VisioForge.Core.Types.X.BarcodeDetectorMode.InputOutput, which keeps the video available downstream.
public BarcodeDetectorMode Mode { get; set; }Property Value
Methods
CreateBlock()
Creates a VisioForge.Core.MediaBlocks.Special.BarcodeDetectorBlock configured from these settings.
public MediaBlock CreateBlock()Returns
- MediaBlock
-
The configured block.