CPDFConfiguration class
Copyright © 2014-2024 PDF Technologies, Inc. All Rights Reserved.
THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE ComPDFKit LICENSE AGREEMENT. UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. This notice may not be removed from this file. modeConfig: Configuration of parameters that can be adjusted when opening a PDF interface. For example, setting the default display mode when opening, such as entering viewer or annotations mode.
toolbarConfig: Configuration of top toolbar functionality and menu feature lists. This allows you to customize the buttons and menu options on the top toolbar for various operations.
readerViewConfig: Configuration related to the PDF view, including functions like highlighting hyperlinks and form field highlighting.
ComPDFKit.openDocument(
tempDocumentPath,
password: '',
configuration: CPDFConfiguration());
Constructors
- CPDFConfiguration({ModeConfig modeConfig = const ModeConfig(initialViewMode: CPreviewMode.viewer), ToolbarConfig toolbarConfig = const ToolbarConfig(), ReaderViewConfig readerViewConfig = const ReaderViewConfig(), CPDFAnnotationsConfig annotationsConfig = const CPDFAnnotationsConfig(), CPDFContentEditorConfig contentEditorConfig = const CPDFContentEditorConfig(), CPDFFormsConfig formsConfig = const CPDFFormsConfig()})
Properties
- annotationsConfig ↔ CPDFAnnotationsConfig
-
getter/setter pair
- contentEditorConfig ↔ CPDFContentEditorConfig
-
getter/setter pair
- formsConfig ↔ CPDFFormsConfig
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- modeConfig ↔ ModeConfig
-
getter/setter pair
- readerViewConfig ↔ ReaderViewConfig
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- toolbarConfig ↔ ToolbarConfig
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited