z

Class PxlScannerView

Composite MAUI control that hosts live camera preview, guidance overlays, and capture controls for document scanning scenarios.

public class PxlScannerView : Grid, IDisposable

Constructor

PxlScannerView()

Creates the scanner view and initialises UI layers and supporting services.

public PxlScannerView()

Field

CloseClicked

Raised when the user presses the close button to dismiss the scanner.

public EventHandler CloseClicked

DebugTakePictureUtcTime

Captures the UTC timestamp of the last debug capture request.

public DateTime DebugTakePictureUtcTime

PictureReceiver

Callback invoked after ImageSdkWrapper.Maui.Camera.CameraPreviewView.TakePicture(ImageSdkWrapper.Maui.PxlScannerView.PictureReceiverHandler) completes, delivering the resulting image or error details.

public PxlScannerView.PictureReceiverHandler PictureReceiver

Method

Dispose()

Releases camera, analyzer, and shake detector resources.

public void Dispose()

Restart()

Resets analysis state and updates UI to accept a new capture.

public void Restart()

StartCamera()

Starts the camera preview if a renderer is available.

public bool StartCamera()

Property

ButtonsSize

Gets or sets the size of the flash and smart buttons.

public double ButtonsSize { get; set; }

CloseButtonPadding

Gets or sets padding applied around the close button area.

public Thickness CloseButtonPadding { get; set; }

CloseButtonsSize

Gets or sets the close button visual size.

public double CloseButtonsSize { get; set; }

OnReadyForStart

Triggered when the camera view is ready to start streaming frames.

public EventHandler OnReadyForStart { get; set; }

PanelBackgroundColor

Gets or sets the background colour of the bottom control panel.

public Color PanelBackgroundColor { get; set; }

PanelPadding

Gets or sets padding applied to the bottom control panel.

public Thickness PanelPadding { get; set; }

SafeAreaPadding

Gets or sets safe area padding applied to the control layout.

public Thickness SafeAreaPadding { get; set; }

ShotButtonBorderColor

Gets or sets the border colour of the shutter button.

public Color ShotButtonBorderColor { get; set; }

ShotButtonSize

Gets or sets the diameter of the main shutter button.

public double ShotButtonSize { get; set; }

StateBackgroundColor

Gets or sets the background colour for the state label.

public Color StateBackgroundColor { get; set; }

StateTextColor

Gets or sets the text colour of the state label.

public Color StateTextColor { get; set; }

StateTextFontSize

Gets or sets the state label font size.

public double StateTextFontSize { get; set; }

StateTextPadding

Gets or sets padding applied to the state label.

public Thickness StateTextPadding { get; set; }

StateTextVerticalDiv

Gets or sets spacing between state labels and buttons.

public double StateTextVerticalDiv { get; set; }
Top