Skip to content

Commit 6bb0c87

Browse files
Update README.md
1 parent bfdcf22 commit 6bb0c87

File tree

1 file changed

+25
-20
lines changed

1 file changed

+25
-20
lines changed

README.md

Lines changed: 25 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
2-
31
<img class="img-fluid" align="center" src="https://github.com/ExtrieveTechnologies/QuickCapture/blob/main/QuickCapture.png?raw=true" width="30%" alt="img-verification"><img align="right" class="img-fluid" width="8%" src="https://github.com/ExtrieveTechnologies/QuickCapture/blob/main/apple-ios.png?raw=true?raw=true?raw=true" alt="img-verification">
42

53
## Document Scanning-Capture SDK IOS v2
@@ -136,6 +134,13 @@ Config.CaptureSupport : contains various configurations as follows:
136134
//Objective-C
137135
CaptureSupport.CaptureSound = true;
138136
```
137+
- **ShowCaptureCountAndLimit** - Enable/Disable Capture count as toast at bottom while capturing from SDK camera.
138+
```swift
139+
//Swift
140+
Config.CaptureSupport.ShowCaptureCountAndLimit = true;
141+
//Objective-C
142+
CaptureSupport.ShowCaptureCountAndLimit = true;
143+
```
139144
- **SDKInfo** - Contains all version related information on SDK.
140145
```swift
141146
//Swift
@@ -158,13 +163,14 @@ Config.CaptureSupport : contains various configurations as follows:
158163
```swift
159164
//Swift
160165
do
161-
{
162-
let status = try cameraHelper.BuildTiff(ImageArray: fileArray, TiffFilePath: outputTiffURL.path)
163-
print(status)
164-
}
165-
catch{
166-
print(error)
167-
}
166+
{
167+
let status = try cameraHelper.BuildTiff(ImageArray: fileArray, TiffFilePath: outputTiffURL.path)
168+
print(status)
169+
}
170+
catch
171+
{
172+
print(error)
173+
}
168174
*@param "Image File path collection as Array of String"
169175
*@return on failure = "FAILED:::REASON" || on success = "SUCCESS:::TIFF file path".
170176
```
@@ -177,14 +183,13 @@ Config.CaptureSupport : contains various configurations as follows:
177183
- **BuildPDF** - Build PDF file output file from last captured set of images.
178184
```swift
179185
//Swift
180-
do
181-
{
182-
let status = try cameraHelper.BuildPdf(ImageArray: fileArray, PdfFilePath: outputPDFURL.path)
183-
print(status)
184-
}
185-
catch{
186-
print(error)
187-
}
186+
do {
187+
let status = try cameraHelper.BuildPdf(ImageArray: fileArray, PdfFilePath: outputPDFURL.path)
188+
print(status)
189+
}
190+
catch {
191+
print(error)
192+
}
188193
*@param "Image File path collection as Array of String"
189194
*@return on failure = "FAILED:::REASON" || on success = "SUCCESS:::PDF file path".
190195
```
@@ -245,10 +250,10 @@ Config.CaptureSupport : contains various configurations as follows:
245250
- ***GetThumbnail*** - *This method Will build thumbnail for the given image in custom width,height & AspectRatio.*
246251
```swift
247252
//Swift
248-
do
249-
{
253+
do
254+
{
250255
try UIImage thumb = ImgHelper.shared.GetThumbnail(bm: image, rHeight: 600, rWidth: 600, AspectRatio: true)
251-
}
256+
}
252257
catch
253258
{
254259
print(error);

0 commit comments

Comments
 (0)