Default User Interface
It can be seen from Viewers part, DDV provides the default UI design for the edit viewer, capture viewer and perspective viewer. They basically contain the main features of each type of viewer.
Edit viewer
Mobile
Default UiConfig:
{
type: Dynamsoft.DDV.Elements.Layout,
flexDirection: "column",
className: "ddv-edit-viewer-mobile",
children: [
{
type: Dynamsoft.DDV.Elements.Layout,
className: "ddv-edit-viewer-header-mobile",
children: [
Dynamsoft.DDV.Elements.Blank,
Dynamsoft.DDV.Elements.Pagination,
Dynamsoft.DDV.Elements.Download,
],
},
Dynamsoft.DDV.Elements.MainView,
{
type: Dynamsoft.DDV.Elements.Layout,
className: "ddv-edit-viewer-footer-mobile",
children: [
Dynamsoft.DDV.Elements.DisplayMode,
Dynamsoft.DDV.Elements.RotateLeft,
Dynamsoft.DDV.Elements.Crop,
Dynamsoft.DDV.Elements.Filter,
Dynamsoft.DDV.Elements.Undo,
Dynamsoft.DDV.Elements.Delete,
Dynamsoft.DDV.Elements.Load,
],
},
],
};
Desktop
Default UiConfig:
{
type: Dynamsoft.DDV.Elements.Layout,
flexDirection: "column",
className: "ddv-edit-viewer-desktop",
children: [
{
type: Dynamsoft.DDV.Elements.Layout,
className: "ddv-edit-viewer-header-desktop",
children: [
{
type: Dynamsoft.DDV.Elements.Layout,
enableScroll: true,
children: [
Dynamsoft.DDV.Elements.ThumbnailSwitch,
Dynamsoft.DDV.Elements.Zoom,
Dynamsoft.DDV.Elements.FitMode,
Dynamsoft.DDV.Elements.DisplayMode,
Dynamsoft.DDV.Elements.RotateLeft,
Dynamsoft.DDV.Elements.RotateRight,
Dynamsoft.DDV.Elements.Crop,
Dynamsoft.DDV.Elements.Filter,
Dynamsoft.DDV.Elements.Undo,
Dynamsoft.DDV.Elements.Redo,
Dynamsoft.DDV.Elements.DeleteCurrent,
Dynamsoft.DDV.Elements.DeleteAll,
Dynamsoft.DDV.Elements.Pan,
],
},
{
type: Dynamsoft.DDV.Elements.Layout,
children: [
{
type: Dynamsoft.DDV.Elements.Pagination,
className: "ddv-edit-viewer-pagination-desktop",
},
Dynamsoft.DDV.Elements.Load,
Dynamsoft.DDV.Elements.Download,
Dynamsoft.DDV.Elements.Print,
],
},
],
},
Dynamsoft.DDV.Elements.MainView,
],
};
Capture viewer
Mobile
Default UiConfig:
{
type: Dynamsoft.DDV.Elements.Layout,
flexDirection: "column",
children: [
{
type: Dynamsoft.DDV.Elements.Layout,
className: "ddv-capture-viewer-header-mobile",
children: [
{
type: Dynamsoft.DDV.Elements.CameraResolution,
className: "ddv-capture-viewer-resolution",
},
Dynamsoft.DDV.Elements.Flashlight,
],
},
Dynamsoft.DDV.Elements.MainView,
{
type: Dynamsoft.DDV.Elements.Layout,
className: "ddv-capture-viewer-footer-mobile",
children: [
Dynamsoft.DDV.Elements.AutoDetect,
Dynamsoft.DDV.Elements.AutoCapture,
{
type: Dynamsoft.DDV.Elements.Capture,
className: "ddv-capture-viewer-captureButton",
},
Dynamsoft.DDV.Elements.ImagePreview,
Dynamsoft.DDV.Elements.CameraConvert,
],
},
],
};
Desktop
Default UiConfig:
{
type: Dynamsoft.DDV.Elements.Layout,
flexDirection: "column",
className: "ddv-capture-viewer-desktop",
children: [
{
type: Dynamsoft.DDV.Elements.Layout,
className: "ddv-capture-viewer-header-desktop",
children: [
{
type: Dynamsoft.DDV.Elements.CameraResolution,
className: "ddv-capture-viewer-resolution-desktop",
},
Dynamsoft.DDV.Elements.AutoDetect,
{
type: Dynamsoft.DDV.Elements.Capture,
className: "ddv-capture-viewer-capture-desktop",
},
Dynamsoft.DDV.Elements.AutoCapture,
],
},
Dynamsoft.DDV.Elements.MainView,
{
type: Dynamsoft.DDV.Elements.ImagePreview,
className: "ddv-capture-viewer-image-preview-desktop",
},
],
};
Perspective viewer
Mobile
Default UiConfig:
{
type: Dynamsoft.DDV.Elements.Layout,
flexDirection: "column",
children: [
{
type: Dynamsoft.DDV.Elements.Layout,
className: "ddv-perspective-viewer-header-mobile",
children: [
Dynamsoft.DDV.Elements.Blank,
Dynamsoft.DDV.Elements.Pagination,
Dynamsoft.DDV.Elements.PerspectiveAll,
],
},
Dynamsoft.DDV.Elements.MainView,
{
type: Dynamsoft.DDV.Elements.Layout,
className: "ddv-perspective-viewer-footer-mobile",
children: [
Dynamsoft.DDV.Elements.FullQuad,
Dynamsoft.DDV.Elements.RotateLeft,
Dynamsoft.DDV.Elements.RotateRight,
Dynamsoft.DDV.Elements.DeleteCurrent,
Dynamsoft.DDV.Elements.DeleteAll,
],
},
],
};
Desktop
Default UiConfig:
{
type: Dynamsoft.DDV.Elements.Layout,
flexDirection: "column",
children: [
{
type: Dynamsoft.DDV.Elements.Layout,
className: "ddv-perspective-viewer-header-desktop",
children: [
Dynamsoft.DDV.Elements.FullQuad,
Dynamsoft.DDV.Elements.RotateLeft,
Dynamsoft.DDV.Elements.RotateRight,
Dynamsoft.DDV.Elements.DeleteCurrent,
Dynamsoft.DDV.Elements.DeleteAll,
{
type: Dynamsoft.DDV.Elements.Pagination,
className: "ddv-perspective-viewer-pagination-desktop",
},
{
type: Dynamsoft.DDV.Elements.PerspectiveAll,
className: "ddv-perspective-viewer-perspective-desktop",
},
],
},
Dynamsoft.DDV.Elements.MainView,
],
};
Browse viewer
Default UiConfig:
{
type: Dynamsoft.DDV.Elements.Layout,
children: [
Dynamsoft.Dynamsoft.DDV.Elements.MainView,
],
};