showEditAreaPropertiesView method
Displays the properties panel for the specified edit area. Only some edit area types are supported. If an unsupported type is passed in (such as path type), an exception will be thrown.
Parameters:
editAreaThe edit area CPDFEditArea for which to display the properties panel.
Exceptions:
- If an unsupported edit area type is passed in, an Exception will be thrown Example:
await controller.showEditAreaPropertiesView(editArea);
Implementation
Future<void> showEditAreaPropertiesView(CPDFEditArea editArea) async {
if (editArea.type == CPDFEditAreaType.path) {
throw Exception(
'This type:${editArea.type} of edit area is not supported, please select another type.');
}
return await _channel.invokeMethod(
'show_edit_area_properties_view', editArea.toJson());
}