UNPKG

@compdfkit_pdf_sdk/react_native

Version:

ComPDFKit for React Native is a comprehensive SDK that allows you to quickly add PDF functionality to Android, iOS, and React Native applications.

45 lines (43 loc) 1.63 kB
/** * Copyright © 2014-2025 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. */ /** * Configuration information for displaying PDF using the ComPDFKit.openDocument method. * Used to configure UI elements, PDF properties, etc. * * @example * const configuration : CPDFConfiguration = { * modeConfig: { * initialViewMode: CPDFModeConfig.ViewMode.VIEWER, * availableViewModes: [ * CPDFModeConfig.ViewMode.VIEWER, * CPDFModeConfig.ViewMode.ANNOTATIONS, * CPDFModeConfig.ViewMode.CONTENT_EDITOR, * CPDFModeConfig.ViewMode.FORMS, * CPDFModeConfig.ViewMode.SIGNATURES * ] * } * } * * ComPDFKit.openDocument(document, 'password', JSON.stringify(configuration)) */ export class CPDFConfiguration {} ; /** * @param { HexColor } [fillColor] HEX color: #1460F3 * @param { HexColor } [borderColor] HEX color: #1460F3 * @param { BorderWidth } [borderWidth] border thickness, value range:0~10 * @param { HexColor } [checkedColor] * @param { boolean } [isChecked] * @param { CPDFCheckStyle } [checkedStyle] */ export class CheckBoxAttr {} export class RadioButtonAttr extends CheckBoxAttr {} export class ListBoxAttr {} export class ComboBoxAttr extends ListBoxAttr {} //# sourceMappingURL=CPDFConfiguration.js.map