Table of Contents

Class SBSDKImageEditingViewController

Namespace
ScanbotSDK.iOS
Assembly
DocumentSDK.NET.iOS.dll
public class SBSDKImageEditingViewController : UIViewController
Inheritance
SBSDKImageEditingViewController

Constructors

SBSDKImageEditingViewController(NSCoder)

public SBSDKImageEditingViewController(NSCoder coder)

Parameters

coder NSCoder

SBSDKImageEditingViewController(NSObjectFlag?)

protected SBSDKImageEditingViewController(NSObjectFlag? t)

Parameters

t NSObjectFlag

SBSDKImageEditingViewController(NativeHandle?)

protected SBSDKImageEditingViewController(NativeHandle? handle)

Parameters

handle NativeHandle

Properties

AnchorPointsColor

public virtual UIColor? AnchorPointsColor { get; set; }

Property Value

UIColor

ApplyButtonItem

public ApplyButtonItemFunc? ApplyButtonItem { get; set; }

Property Value

ApplyButtonItemFunc

CancelButtonItem

public CancelButtonItemFunc? CancelButtonItem { get; set; }

Property Value

CancelButtonItemFunc

ClassHandle

public override NativeHandle? ClassHandle { get; }

Property Value

NativeHandle

ContentInsets

public virtual UIEdgeInsets? ContentInsets { get; set; }

Property Value

UIEdgeInsets

CroppedImage

public virtual UIImage? CroppedImage { get; }

Property Value

UIImage

Delegate

public SBSDKImageEditingViewControllerDelegate? Delegate { get; set; }

Property Value

SBSDKImageEditingViewControllerDelegate

EdgeColor

public virtual UIColor EdgeColor { get; set; }

Property Value

UIColor

EdgeLineWidth

public virtual NFloat EdgeLineWidth { get; set; }

Property Value

NFloat

Image

public virtual UIImage Image { get; }

Property Value

UIImage

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

Polygon

public virtual SBSDKPolygon Polygon { get; }

Property Value

SBSDKPolygon

ProcessingQueue

public virtual DispatchQueue ProcessingQueue { get; set; }

Property Value

DispatchQueue

RotateClockwiseToolbarItem

public RotateClockwiseToolbarItemFunc? RotateClockwiseToolbarItem { get; set; }

Property Value

RotateClockwiseToolbarItemFunc

RotateCounterClockwiseToolbarItem

public RotateCounterClockwiseToolbarItemFunc? RotateCounterClockwiseToolbarItem { get; set; }

Property Value

RotateCounterClockwiseToolbarItemFunc

Rotations

public virtual nint Rotations { get; set; }

Property Value

nint

ToolbarItemTintColor

public ToolbarItemTintColorFunc? ToolbarItemTintColor { get; set; }

Property Value

ToolbarItemTintColorFunc

ToolbarStyle

public ToolbarStyleFunc? ToolbarStyle { get; set; }

Property Value

ToolbarStyleFunc

ToolbarTintColor

public ToolbarTintColorFunc? ToolbarTintColor { get; set; }

Property Value

ToolbarTintColorFunc

WeakDelegate

public virtual NSObject? WeakDelegate { get; set; }

Property Value

NSObject

Methods

ApplyChanges()

public virtual void ApplyChanges()

CreateWithImage(UIImage, SBSDKPolygon?)

public static SBSDKImageEditingViewController CreateWithImage(UIImage image, SBSDKPolygon? polygon)

Parameters

image UIImage
polygon SBSDKPolygon

Returns

SBSDKImageEditingViewController

CreateWithImage(UIImage, SBSDKPolygon?, UIViewController, UIView, SBSDKImageEditingViewControllerDelegate?)

public static SBSDKImageEditingViewController CreateWithImage(UIImage image, SBSDKPolygon? polygon, UIViewController parentViewController, UIView containerView, SBSDKImageEditingViewControllerDelegate? @delegate)

Parameters

image UIImage
polygon SBSDKPolygon
parentViewController UIViewController
containerView UIView
delegate SBSDKImageEditingViewControllerDelegate

Returns

SBSDKImageEditingViewController

CreateWithPage(SBSDKDocumentPage)

public static SBSDKImageEditingViewController CreateWithPage(SBSDKDocumentPage page)

Parameters

page SBSDKDocumentPage

Returns

SBSDKImageEditingViewController

CreateWithPage(SBSDKDocumentPage, UIViewController, UIView, SBSDKImageEditingViewControllerDelegate?)

public static SBSDKImageEditingViewController CreateWithPage(SBSDKDocumentPage page, UIViewController parentViewController, UIView containerView, SBSDKImageEditingViewControllerDelegate? @delegate)

Parameters

page SBSDKDocumentPage
parentViewController UIViewController
containerView UIView
delegate SBSDKImageEditingViewControllerDelegate

Returns

SBSDKImageEditingViewController

DetectPolygon()

public virtual void DetectPolygon()

DismissChanges()

public virtual void DismissChanges()

Dispose(bool)

protected override void Dispose(bool disposing)

Parameters

disposing bool

ResetPolygon()

public virtual void ResetPolygon()

RotateInputImageClockwise(bool, bool)

public virtual void RotateInputImageClockwise(bool clockwise, bool animated)

Parameters

clockwise bool
animated bool

UpdateNavigationBarItems()

public virtual void UpdateNavigationBarItems()

UpdateToolBarItems()

public virtual void UpdateToolBarItems()

ViewDidAppear(bool)

public virtual void ViewDidAppear(bool animated)

Parameters

animated bool

ViewDidLayoutSubviews()

public virtual void ViewDidLayoutSubviews()

ViewDidLoad()

public virtual void ViewDidLoad()

ViewWillDisappear(bool)

public virtual void ViewWillDisappear(bool animated)

Parameters

animated bool

Events

DidApplyChangesWith

public event EventHandler<ApplyChangesWithPolygonUIImageEventArgs> DidApplyChangesWith

Event Type

EventHandler<ApplyChangesWithPolygonUIImageEventArgs>

DidCancelChanges

public event EventHandler DidCancelChanges

Event Type

EventHandler

DidChangePolygon

public event EventHandler DidChangePolygon

Event Type

EventHandler