Class SBSDKImageEditingViewModel
- Namespace
- ScanbotSDK.iOS
- Assembly
- DocumentSDK.NET.iOS.dll
public class SBSDKImageEditingViewModel : NSObject
- Inheritance
-
SBSDKImageEditingViewModel
- Extension Methods
-
Constructors
SBSDKImageEditingViewModel(NSObjectFlag)
protected SBSDKImageEditingViewModel(NSObjectFlag t)
Parameters
t NSObjectFlag
SBSDKImageEditingViewModel(NativeHandle)
protected SBSDKImageEditingViewModel(NativeHandle handle)
Parameters
handle NativeHandle
SBSDKImageEditingViewModel(SBSDKImageRef, SBSDKPolygon)
public SBSDKImageEditingViewModel(SBSDKImageRef image, SBSDKPolygon polygon)
Parameters
image SBSDKImageRef
polygon SBSDKPolygon
Properties
AnchorPointsColor
public virtual UIColor? AnchorPointsColor { get; set; }
Property Value
- UIColor
BackgroundColor
public virtual UIColor BackgroundColor { get; set; }
Property Value
- UIColor
ClassHandle
public override NativeHandle ClassHandle { get; }
Property Value
- NativeHandle
ContentInsets
public virtual UIEdgeInsets ContentInsets { get; set; }
Property Value
- UIEdgeInsets
EdgeColor
public virtual UIColor EdgeColor { get; set; }
Property Value
- UIColor
EdgeLineWidth
public virtual NFloat EdgeLineWidth { get; set; }
Property Value
- NFloat
Image
public virtual SBSDKImageRef Image { get; }
Property Value
- SBSDKImageRef
IsCropEnabled
public virtual bool IsCropEnabled { get; set; }
Property Value
- bool
IsRotationEnabled
public virtual bool IsRotationEnabled { get; set; }
Property Value
- bool
MagneticEdgeColor
public virtual UIColor MagneticEdgeColor { get; set; }
Property Value
- UIColor
OnFailure
public virtual Action<NSError>? OnFailure { get; set; }
Property Value
- Action<NSError>
OnPolygonDidChange
public virtual Action<SBSDKPolygon>? OnPolygonDidChange { get; set; }
Property Value
- Action<SBSDKPolygon>
OnPolygonDidDetect
public virtual Action<SBSDKPolygon>? OnPolygonDidDetect { get; set; }
Property Value
- Action<SBSDKPolygon>
Polygon
public virtual SBSDKPolygon Polygon { get; }
Property Value
- SBSDKPolygon
RenderedImage
public virtual UIImage? RenderedImage { get; }
Property Value
- UIImage
Rotations
public virtual nint Rotations { get; set; }
Property Value
- nint
Methods
DetectAndApplyPolygonAndReturnError(out NSError?)
public virtual bool DetectAndApplyPolygonAndReturnError(out NSError? error)
Parameters
error NSError
Returns
- bool
DetectEdgesAndReturnError(out NSError?)
public virtual bool DetectEdgesAndReturnError(out NSError? error)
Parameters
error NSError
Returns
- bool
OutputImageWithCroppingEnabled(bool, out NSError?)
public virtual SBSDKImageRef? OutputImageWithCroppingEnabled(bool croppingEnabled, out NSError? error)
Parameters
croppingEnabled bool
error NSError
Returns
- SBSDKImageRef
ResetPolygon()
public virtual void ResetPolygon()
public virtual bool RotateInputImageClockwise(bool clockwise, bool animated, out NSError? error)
Parameters
clockwise bool
animated bool
error NSError
Returns
- bool
UpdateImageDetectionResultWithApplyingPolygon(bool, out NSError?)
public virtual bool UpdateImageDetectionResultWithApplyingPolygon(bool applyingPolygon, out NSError? error)
Parameters
applyingPolygon bool
error NSError
Returns
- bool