@@ -266,59 +266,58 @@ interface ImageEditor {
266266};
267267
268268interface EditorSettings {
269- /**
269+ /**
270270 * Specify an HTML Element.
271271 */
272- element? : HTMLDivElement | HTMLElement ;
273- /**
272+ element? : HTMLDivElement | HTMLElement ;
273+ /**
274274 * The width of the image editor viewer. The default value is "100%".
275275 * 'Invalid property value' will be reported when the set value is not string or number.
276276 */
277- width? : number | string ;
278- /**
277+ width? : number | string ;
278+ /**
279279 * The height of the image editor viewer. The default value is "100%".
280280 * 'Invalid property value' will be reported when the set value is not string or number.
281281 */
282- height? : number | string ;
283- /**
282+ height? : number | string ;
283+ /**
284284 * The border of the ImageEditor viewer.
285285 * 'Invalid property value' is reported when the set value does not meet the CSS standard.
286286 */
287- border? : string ;
288- /**
287+ border? : string ;
288+ /**
289289 * Set the border of the top toolbar.
290290 * 'Invalid property value' is reported when the set value does not meet the CSS standard.
291291 */
292- topMenuBorder? : string ;
293- /**
292+ topMenuBorder? : string ;
293+ /**
294294 * The inner border of the image area.
295295 */
296- innerBorder? : string ;
297- /**
296+ innerBorder? : string ;
297+ /**
298298 * The background color/image of the ImageEditor viewer.
299299 * 'Invalid property value' is reported when the set value does not meet the CSS standard.
300300 */
301- background? : string ;
302- /**
301+ background? : string ;
302+ /**
303303 * Whether to pop up a window prompting to save the changes. The default value is true.
304-
305304 * 'Invalid property value' will be reported when the specified value type is wrong or the parameter name is spelled incorrectly.
306305 */
307- promptToSaveChange? : boolean ;
308- /**
306+ promptToSaveChange? : boolean ;
307+ /**
309308 * Modify button titles and whether to hide specific buttons in the image editor viewer.
310309 * 'Invalid property value' will be reported when the specified value type is wrong or the parameter name is spelled incorrectly.
311310 */
312- buttons? : any ;
313- /**
311+ buttons? : any ;
312+ /**
314313 * Define the dialog text
315314 * 'Invalid property value' will be reported when the specified value type is wrong or the parameter name is spelled incorrectly.
316315 */
317- dialogText? : any ;
318- /**
316+ dialogText? : any ;
317+ /**
319318 * Default is normal, value: normal=0, balance=1.
320319 */
321- workMode? : number | DynamsoftEnumsDWT .EnumDWT_WorkMode ;
320+ workMode? : number | DynamsoftEnumsDWT .EnumDWT_WorkMode ;
322321}
323322```
324323
0 commit comments