@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.
32 lines (30 loc) • 1.24 kB
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.CPDFMarkupAnnotation = void 0;
var _CPDFAnnotation = require("./CPDFAnnotation");
/**
* 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.
*/
/**
* @class CPDFMarkupAnnotation
* @property { CPDFAnnotationType } [type] Annotation type identifier
* @property { title } [title] Annotation title
* @property { number } [page] The page number where the note is located
* @property { string } [content] annotation content.
* @property { string } [markedText] The text that is marked by the annotation
*/
class CPDFMarkupAnnotation extends _CPDFAnnotation.CPDFAnnotation {
constructor(viewerRef, params) {
super(viewerRef, params);
this.markedText = params.markedText ?? '';
}
}
exports.CPDFMarkupAnnotation = CPDFMarkupAnnotation;
//# sourceMappingURL=CPDFMarkupAnnotation.js.map
;