@@ -110,7 +110,7 @@ protected void onActivityResult(int requestCode, int resultCode, @Nullable
110110 finishActivity(REQUEST_CODE_FILE_RETURN );
111111}
112112```
113- ```java
113+ ```kotlin
114114// Kotlin
115115try {
116116 /* DEV_HELP :redirecting to camera*/
@@ -134,6 +134,7 @@ Config.CaptureSupport : contains various configurations as follows:
134134
135135- **OutputPath** - To set the output directory in which the captured images will be saved. Base app should have rights to write to the provided path.
136136 ```java
137+ // JAVA
137138 Config.CaptureSupport.OutputPath = "pass output path sd string";
138139 ```
139140- **MaxPage** - To set the number of captures to do on each camera session. And this can also control whether the capture mode is single or multi i.e
@@ -198,9 +199,14 @@ ImgHelper ImageHelper = new ImgHelper(this);
198199 ```
199200- ***SetPageLayout*** - *Set the Layout for the images generated/processed by the system.*
200201 ```java
202+ // JAVA
201203 ImageHelper.SetPageLayout(ImgHelper.LayoutType.A4.ordinal());
202204 // OR
203205 ImageHelper.SetPageLayout(4);// A1-A7(1-7),PHOTO,CUSTOM,ID(8,9,10)
206+ ```
207+ ```kotlin
208+ // Kotlin
209+ imageHelper!!.SetPageLayout(4)
204210 ```
205211 >*Available layouts* : A1, A2, A3, **A4**, A5, A6, A7,PHOTO & CUSTOM
206212
@@ -212,7 +218,10 @@ ImgHelper ImageHelper = new ImgHelper(this);
212218 // OR
213219 ImageHelper.SetDPI(200);// int dpi_val = 150, 200, 300, 500, 600;
214220 ```
215-
221+ ```kotlin
222+ // Kotlin
223+ imageHelper!!.SetDPI(200)
224+ ```
216225 >*Available DPI* : DPI_150, DPI_200, DPI_300, DPI_500, DPI_600
217226
218227 *150 & 200 DPI is most used.And 200 DPI recommended for OCR and other image extraction prior to capture.*
0 commit comments