Download pdfviewer sdk
Author: p | 2025-04-24
Mavenized project for pdfviewer sdk from - mdumrauf/pdfviewer-sdk
GitHub - mdumrauf/pdfviewer-sdk: Mavenized project for pdfviewer sdk
KB | price: $50 | date: 7/9/2008...RmBarCode.Ocx its an Activex Control to create, display & print in a easy way the most populars barcode. You can use RmBarCode Activex Contro...Excel OCX 2.3screenshot | size: 563 KB | price: $49.95 | date: 5/28/2003...Excel OCX is a powerful ActiveX Control with over a hundred useful functions to assist in exchanging data between Excel and Visual Basic and much more using COM technology! Included in the download is a sample Visual Basic project which demonstrates the power of Excel OCX. D...Word OCX 2.0screenshot | size: 558 KB | price: $49.95 | date: 8/22/2003...Word OCX is a powerful ActiveX Control with over one hundred useful functions tosend data from Visual Basic to a Word document, spell check Visual Basic objects anddatabase tables, create labels in Word, create HTML documents and much more usingCOM technology! Included in the download is a sample Visual Basic project whichdemonstrates the power of Word OCX....PDFViewer OCX 2.4.116screenshot | size: 2.68 MB | price: $299.95 | date: 6/11/2005...PDFViewer OCX is an ActiveX component which enables your application to display and interact with PDF files. Simply place the control on your form, set the Path property, and you are all set! PDFViewer OCX is...RSP MP3 OGG Vorbis Encode OCX 1.0.0screenshot | size: 601 KB | price: $50 | date: 12/10/2003... MP3 OGG Vorbis Encode OCX 1.0.0 is an ActiveX OCX to...Balloon OCX 2.0screenshot | size: 314 KB | price: $9.95 | date: 8/4/2003...Balloon OCX is a powerful ActiveX Control that allows you to create cool customizedtooltips for your controls! Some advantages that Balloon OCX ha...ViewPDF OCX 2.0screenshot | size: 1.47 MB | price: $199.95 | date: 2/3/2006...ViewPDF OCX is an ActiveX component which enables your application to display and interact with PDF files. Simply place the control on your form, set the Path property, and you are all set! ViewPDF OCX is...Registrator II 2.00.0015screenshot | size: 2.01 MB | price: $25 | date: 6/18/2003Lets users register system files and repair registry in a few clicks....braries (dll), and COM ActiveX compon...Related Terms for X360 Video Player Activex OcxVideo Activex Media Player, X360 Multiple Video Player Activex Sdk, X360 Exif Tiff Tag Viewer Activex Ocx, X360 Outlook Express Activex Ocx, Gogo Exif Image Viewer Pro Activex Ocx, X360 Video Player Activex Ocx, X360 Multiple Video Player Activex Ocx, Gogo Exif Image Viewer Activex Ocx, X360 Multi Page Tiff Viewer Activex Ocx, Video Activex Media Player 9.
PDFViewer SDK 2.5.2 - Download - Softpedia
Default sticky note annotation settings.StandaloneServer-Backedimport * as ReactDOM from 'react-dom';import * as React from 'react';import { PdfViewerComponent, Toolbar, Magnification, Navigation, LinkAnnotation, BookmarkView, ThumbnailView, Print, TextSelection, TextSearch, Annotation, FormFields, FormDesigner, PageOrganizer, Inject } from '@syncfusion/ej2-react-pdfviewer';let pdfviewer;function App() { return (div> div className='control-section'> PdfViewerComponent ref={(scope) => { pdfviewer = scope; }} id="container" documentPath=" resourceUrl=" stampSettings={{opacity: 0.3, author: 'Guest User'}} style={{ 'height': '640px' }}> Inject services={[ Toolbar, Annotation, Magnification, Navigation, LinkAnnotation, BookmarkView, ThumbnailView, Print, TextSelection, TextSearch, FormFields, FormDesigner, PageOrganizer]} /> /PdfViewerComponent> /div> /div>);}const root = ReactDOM.createRoot(document.getElementById('sample'));root.render(App />);import * as ReactDOM from 'react-dom';import * as React from 'react';import { PdfViewerComponent, Toolbar, Magnification, Navigation, LinkAnnotation, BookmarkView, ThumbnailView, Print, TextSelection, TextSearch, Annotation, FormFields, FormDesigner, PageOrganizer, Inject } from '@syncfusion/ej2-react-pdfviewer';let pdfviewer;function App() { return (div> div className='control-section'> PdfViewerComponent ref={(scope) => { pdfviewer = scope; }} id="container" documentPath=" serviceUrl=" stampSettings={{opacity: 0.3, author: 'Guest User'}} style={{ 'height': '640px' }}> Inject services={[ Toolbar, Annotation, Magnification, Navigation, LinkAnnotation, BookmarkView, ThumbnailView, Print, TextSelection, TextSearch, FormFields, FormDesigner, PageOrganizer]} /> /PdfViewerComponent> /div> /div>);}const root = ReactDOM.createRoot(document.getElementById('sample'));root.render(App />);pdfviewer-sdk/pdfviewer/src/main/java/com/radaee/reader
Annotations to be added. Click the Custom Stamp button. The file explorer dialog will appear, choose the image and then add the image to the PDF page. The JPG and JPEG image format is only supported in the custom stamp annotations.Adding a Stamp annotation to the PDF document ProgrammaticallyWith the PDF Viewer library, you can add a Stamp annotation to the PDF Viewer control programmatically using the addAnnotation() method.Here’s a example of how you can utilize the addAnnotation() method to include a Stamp annotation programmatically:StandaloneServer-Backedimport * as ReactDOM from 'react-dom';import * as React from 'react';import './index.css';import { PdfViewerComponent, Toolbar, Magnification, Navigation, LinkAnnotation, BookmarkView, ThumbnailView, Print, TextSelection, TextSearch, Annotation, FormFields, FormDesigner, PageOrganizer, Inject } from '@syncfusion/ej2-react-pdfviewer';let pdfviewer;function App() { function dynamicStamp() { var viewer = document.getElementById('container').ej2_instances[0]; viewer.annotation.addAnnotation("Stamp", { offset: { x: 200, y: 140 }, pageNumber: 1 }, 'Approved'); } function signStamp() { var viewer = document.getElementById('container').ej2_instances[0]; viewer.annotation.addAnnotation("Stamp", { offset: { x: 200, y: 240 }, pageNumber: 1 }, undefined,'Witness'); } function standardBusinessStamp() { var viewer = document.getElementById('container').ej2_instances[0]; viewer.annotation.addAnnotation("Stamp", { offset: { x: 200, y: 340 }, pageNumber: 1 }, undefined, undefined, 'Approved'); } function addCustomStamp() { var viewer = document.getElementById('container').ej2_instances[0]; viewer.annotation.addAnnotation('Stamp', { offset: { x: 100, y: 440 }, width: 46, author: 'Guest', height: 100, isLock: true, pageNumber: 1, customStamps: [ { customStampName: "Image", customStampImageSource: "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBwgHBgkIBwgKCgkLDRYPDQwMDRsUFRAWIB0iIiAdHx8kKDQsJCYxJx8fLT0tMTU3Ojo6Iys/RD84QzQ5OjcBCgoKDQwNGg8PGjclHyU3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3N//AABEIAIIAqwMBIgACEQEDEQH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CfoT1qGi++alvEGJdGwlq2hE+e0FApTKVu0we4Qk8R7nhNXkcqCs6q0zK1DcIWbkqNbW23ESmWk4ceCsZAV+UEAgnngnvViix2okZqPHbS2y0kIbQkYCUjYAVtpQKUpQKUpQKUpQKUpQKUpQKUpQKUpQKUpQKouv7mwi7W2HJBdZiJNxXHSd5DoUER2gOpU4rI/gq9VxO2i3PXRu6OwmFz2m/DbkKQCtKck4B+p+9BxaTtblqtQEvhM+UtUqatO4U8vdW/YbJHkkVNVgDFZoFKUoFKUoFKUoFKUoFKUoFKUoFKUoFKUoFKUoFKUoFKUoFKUoFKUoFKUoFKUoFKUoFKUoFKUoP//Z" } ] }); } return (div> button onClick={dynamicStamp}>Dynamic Stamp/button> button onClick={signStamp}>Sign Stamp/button> button onClick={standardBusinessStamp}>StandardBusiness Stamp/button> button onClick={addCustomStamp}>Add Custom Stamp Programmatically/button> div className='control-section'> PdfViewerComponent ref={(scope) => { pdfviewer = scope; }} id="container" documentPath=" resourceUrl=" style={{ 'height': '640px' }}> Inject services={[ Toolbar, Annotation, Magnification, Navigation, LinkAnnotation, BookmarkView, ThumbnailView, Print, TextSelection, TextSearch, FormFields, FormDesigner, PageOrganizer]} /> /PdfViewerComponent> /div> /div>);}const root = ReactDOM.createRoot(document.getElementById('sample'));root.render(App />);import * as ReactDOM from 'react-dom';import * as React from 'react';import './index.css';import { PdfViewerComponent, Toolbar, Magnification, Navigation, LinkAnnotation, BookmarkView, ThumbnailView, Print, TextSelection, TextSearch, Annotation, FormFields, FormDesigner, PageOrganizer, Inject } from '@syncfusion/ej2-react-pdfviewer';let pdfviewer;function App() { function dynamicStamp() { var viewer = document.getElementById('container').ej2_instances[0]; viewer.annotation.addAnnotation("Stamp", { offset: { x: 200, y: 140 }, pageNumber: 1 }, 'Approved'); } function signStamp() { var viewer = document.getElementById('container').ej2_instances[0]; viewer.annotation.addAnnotation("Stamp", { offset: { x: 200, y: 240 }, pageNumber: 1 }, undefined,'Witness'); } function standardBusinessStamp() { var viewer = document.getElementById('container').ej2_instances[0]; viewer.annotation.addAnnotation("Stamp", { offset: { x: 200, y: 340 }, pageNumber: 1 }, undefined, undefined, 'Approved'); } function addCustomStamp() { var viewer = document.getElementById('container').ej2_instances[0]; viewer.annotation.addAnnotation('Stamp', { offset: { x: 100, y: 440 }, width: 46, author: 'Guest', height: 100, isLock: true, pageNumber: 1,. Mavenized project for pdfviewer sdk from - mdumrauf/pdfviewer-sdk pdfviewer-sdk is a Java library typically used in Utilities, SDK applications. pdfviewer-sdk has no bugs, it has no vulnerabilities, it has build file available and it has low support. Howeverpdfviewer-sdk/pdfviewer/src/main/java/com/radaee/pdf
5 Sep 20248 minutes to readThis section explains the steps required to create a simple Angular PDF Viewer and demonstrates the basic usage of the PDF Viewer control in a Angular CLI application.Setup Angular EnvironmentYou can use the Angular CLI to setup your Angular applications.To install the latest Angular CLI globally use the following command.npm install -g @angular/cli Use the command npm install –save @angular/[email protected] to install the Angular CLI version 12.0.2Create an Angular ApplicationStart a new Angular application using the Angular CLI command as follows.Installing Syncfusion PDF Viewer packageAll the available Essential JS 2 packages are published in npmjs.com registry. To install PDF Viewer component, use the following command.npm install @syncfusion/ej2-angular-pdfviewer --saveRegistering PDF Viewer ModuleImport PDF Viewer module into Angular application(app.module.ts) from the package @syncfusion/ej2-angular-pdfviewer [src/app/app.module.ts].import { NgModule } from '@angular/core';import { BrowserModule } from '@angular/platform-browser';// import the PdfViewer Module for the PDF Viewer componentimport { PdfViewerModule, LinkAnnotationService, BookmarkViewService, MagnificationService, ThumbnailViewService, ToolbarService, NavigationService, TextSearchService, TextSelectionService, PrintService, FormDesignerService, FormFieldsService, AnnotationService, PageOrganizerService } from '@syncfusion/ej2-angular-pdfviewer';import { AppComponent } from './app.component';@NgModule({ //declaration of ej2-angular-pdfviewer module into NgModule imports: [BrowserModule, PdfViewerModule], declarations: [AppComponent], bootstrap: [AppComponent], providers: [ LinkAnnotationService, BookmarkViewService, MagnificationService, ThumbnailViewService, ToolbarService, NavigationService, TextSearchService, TextSelectionService, PrintService, AnnotationService, FormDesignerService, FormFieldsService, PageOrganizerService]})export class AppModule { }Adding CSS referenceAdd the Angular PDF Viewer component’s styles as given below in src/styles.css file.@import '../node_modules/@syncfusion/ej2-base/styles/material.css';@import '../node_modules/@syncfusion/ej2-buttons/styles/material.css';@import '../node_modules/@syncfusion/ej2-dropdowns/styles/material.css';@import '../node_modules/@syncfusion/ej2-inputs/styles/material.css';@import '../node_modules/@syncfusion/ej2-navigations/styles/material.css';@import '../node_modules/@syncfusion/ej2-popups/styles/material.css';@import '../node_modules/@syncfusion/ej2-splitbuttons/styles/material.css';@import '../node_modules/@syncfusion/ej2-pdfviewer/styles/material.css';@import '../node_modules/@syncfusion/ej2-notifications/styles/material.css';Adding PDF Viewer componentAdd the Angular PDF Viewer by using selector in template section of the src/app/app.component.ts file to render the PDF Viewer component.import { Component, OnInit } from '@angular/core';import { PdfViewerModule, LinkAnnotationService, BookmarkViewService, MagnificationService, ThumbnailViewService, ToolbarService, NavigationService, TextSearchService, TextSelectionService, PrintService, FormDesignerService, FormFieldsService, AnnotationService, PageOrganizerService } from '@syncfusion/ej2-angular-pdfviewer';@Component({ selector: 'app-root', // specifies the template string for the PDF Viewer component template: ` [serviceUrl]='service' [documentPath]='document' style="height:640px;display:block"> `, providers: [ LinkAnnotationService, BookmarkViewService, MagnificationService, ThumbnailViewService, ToolbarService, NavigationService, TextSearchService, TextSelectionService, PrintService, AnnotationService, FormDesignerService, FormFieldsService, PageOrganizerService]})export class AppComponent implements OnInit { public service = ' public document: string = ' ngOnInit(): void { }}Run the applicationUse the following command to run the application in browser.The output will appear as follows.app.component.tsmain.tsimport { BrowserModule } from '@angular/platform-browser'import { NgModule } from '@angular/core'import {PDFViewer SDK for mobiles and Basic4Android integration.
File. You can refer to the examples in lib\stamps\en-US\DynamicStamps folder. Create a custom stamp listA custom stamp list can be predefined by calling the API pdfViewer.initAnnotationIcons() and loaded into the viewer. Once the following code runs, the default stamp list will be overwritten.var initIcons = { MyCategory1: { StampName1: { fileType: "jpg", url: " } }, MyCategory2: { StampName2: { fileType: "png", url: "stamp.png" } }, ... }; var pdfViewer = await pdfui.getPDFViewer(); await pdfViewer.initAnnotationIcons({ stamp: initIcons }); Remove custom stamps//remove a stamp with the category and name as 'MyCategory1' and 'StampName1' from you stamp list var pdfViewer = await pdfui.getPDFViewer(); await pdfViewer.removeAnnotationIcon('stamp','MyCategory1','StampName1') //clear the whole stamp list var pdfViewer = await pdfui.getPDFViewer(); await pdfViewer.removeAnnotationIcon('stamp','','StampName1') //clear all stampes under 'MyCategory1' var pdfViewer = await pdfui.getPDFViewer(); await pdfViewer.removeAnnotationIcon('stamp','MyCategory1','') Add a new custom stampvar icons = { annotType: "stamp", fileType: "png", url: " // width:80, // height:30, category: "MyCategory", name: "MyStamp" }; var pdfViewer = await pdfui.getPDFViewer(); await pdfViewer.addAnnotationIcon(icons); About the stamp category and nameStamps are organized by category and name. To find out what stamps already exist in your list, the easy way is to check the category and name information by calling pdfui.getAnnotationIcons(). Here are code samples. Get the stamp category and name//list all available stamps await pdfui.getAnnotationIcons("stamp", false); //list only custom stamps await pdfui.getAnnotationIcons("stamp", true); You also execute the following code to output the existing stamps. var allIcons = pdfui.getAnnotationIcons("stamp", false); var iconNames = []; for (var categoryKey in allIcons) { var category = allIcons[categoryKey]; for (var name in category) { iconNames.push({ category: categoryKey, name }); } } console.log(iconNames); Set the default tool to a particular stamp in ViewerUse the PDFUI constructor option to define a stamp as the default tool handler: pdfui = new UIExtension.PDFUI({ customs: { defaultStateHandler: PDFViewCtrl.STATE_HANDLER_NAMESSTATE_HANDLER_CREATE_STAMP handlerParams: { category: 'SignHere', name: 'SignHere' } }; }) Use the API StateHandlerManager.switchTo() to set default tool: pdfui.getStateHandlerManager().then(handlerManager => handlerManager.switchTo( PDFViewCtrl.STATE_HANDLER_NAMES.STATE_HANDLER_CREATE_STAMP, { category: "SignHere", name: "SignHere", url: " or "blob: showUrl: " or "blob: fileType:'png', width:80, height:30, } ) ); Add stamp to a cropped pagevar pdfviewer = await pdfui.getPDFViewer(); var pdfdoc = await pdfviewer.getCurrentPDFDoc(); var page = await pdfdoc.getPageByIndex(0); var rect = await page.getPageBox(PDFViewCtrl.PDF.constant.Box_Type.MediaBox); if(page.isCropped()){ //The rect transformation between the original page coordinates to visible page coordinates. var matrix = await page.getPDFMatrix(); matrix.setReverse(matrix); var rectArr = matrix.transformRect(rect.left, rect.top, rect.right, rect.bottom); rect = {left: rectArr[0], bottom: rectArr[1], right: rectArr[2], top: rectArr[3]}; } var json = {type:'stamp',rect: {left:0,right:400,top:250,bottom:0}, iconInfo:{annotType: "stamp",catagory:pdfviewer-sdk/README.md at master - GitHub
In Foxit PDF SDK for Web, annotations include not only regular PDF annotations but also text markup (think text highlighting, underlining, strikeout, squiggly, etc.), drawing annotations (think shapes like circle, rectangle, arrow), and other annotations, such as notes, free text, as well as standard and dynamic PDF stamping.AnnotationThe annotation supports three types of files to import/export data: XFDF, FDF and JSON. The following table lists what annotations currently support or not supported to import/export. File TypeIf all annots supportWhat not supportXFDF/FDFMostlyLinkJSONMostlyScreen Image, Link, SoundAPIThe following table lists methods that can be used to import/export from/to data file. MethodXFDF/FDFJSONJSONImportPDFDoc.importAnnotsFromFDF()PDFDoc.importAnnotsFromJSON(annotsJson)PDFPage.addAnnot(annotJson)ExportPDFDoc.exportAnnotsToFDF()PDFDoc.exportAnnotsToJSON()Annot.exportToJson()We recommend to use a corresponding method to import and export data. For example, if PDFDoc.exportAnnotsToJSON() is called to export data, then it would better if the PDFDoc.importAnnotsFromJSON(annotsJson) method is used to import. Note: Adding exported JSON data to the document via the PDFPage.addAnnot method can lead to loss of binary data streams for some annotations, such as Stamp and fileAttachment. This is because the PDFPage.addAnnot method does not support JSON data that contains binary streams. Therefore, if the data exported by PDFDoc.exportAnnotsToJSON contains binary streams, then it cannot be passed to the PDFPage.addAnnot method. var pdfViewer = await pdfui.getPDFViewer(); var test = {ExportDataFile:' var resp = await fetch(test.ExportDataFile); var file = await resp.blob(); var pdfdoc = await pdfViewer.openPDFByFile(file); var annotJson = await pdfdoc.exportAnnotsToJSON(); var newResp = await fetch(test.ImportDatafile); var newFile = await newResp.blob() var newPdfdoc = await pdfViewer.openPDFByFile(newFile); for(var i=0;iannotJson.length;i++){ var newPage = await newPdfdoc.getPageByIndex(annotJson[i].page); var newAnnot = await newPage.addAnnot(annotJson[i]); } Stamp and customizationFoxit PDF SDK for Web provides a wide range of stamp features that users can implement with APIs and default icons. This section will walk you through how manage stamps and add a stamp into a PDF. Default stamp listFoxit PDF SDK for web provides a default stamp list in Viewer as follows: { "stamp": { "Static": { "Approved": { "url": "xxx://url.url", "fileType": "pdf" }, "Completed": { "url": "xxx://url.url", "fileType": "pdf" }, "Confidential": { "url": "xxx://url.url", "fileType": "pdf" }, "Draft": { "url": "xxx://url.url", "fileType": "pdf" }, "Revised": { "url": "xxx://url.url", "fileType": "pdf" }, "Emergency": { "url": "xxx://url.url", "fileType": "pdf" }, "Expired": { "url": "xxx://url.url", "fileType": "pdf" }, "Final": { "url": "xxx://url.url", "fileType": "pdf" }, "Received": { "url": "xxx://url.url", "fileType": "pdf" }, "Reviewed": { "url": "xxx://url.url", "fileType": "pdf" } }, "SignHere": { "Accepted": { "url": "xxx://url.url", "fileType": "pdf" }, "Initial": { "url": "xxx://url.url", "fileType": "pdf" }, "Rejected": { "url": "xxx://url.url",. Mavenized project for pdfviewer sdk from - mdumrauf/pdfviewer-sdkComments
KB | price: $50 | date: 7/9/2008...RmBarCode.Ocx its an Activex Control to create, display & print in a easy way the most populars barcode. You can use RmBarCode Activex Contro...Excel OCX 2.3screenshot | size: 563 KB | price: $49.95 | date: 5/28/2003...Excel OCX is a powerful ActiveX Control with over a hundred useful functions to assist in exchanging data between Excel and Visual Basic and much more using COM technology! Included in the download is a sample Visual Basic project which demonstrates the power of Excel OCX. D...Word OCX 2.0screenshot | size: 558 KB | price: $49.95 | date: 8/22/2003...Word OCX is a powerful ActiveX Control with over one hundred useful functions tosend data from Visual Basic to a Word document, spell check Visual Basic objects anddatabase tables, create labels in Word, create HTML documents and much more usingCOM technology! Included in the download is a sample Visual Basic project whichdemonstrates the power of Word OCX....PDFViewer OCX 2.4.116screenshot | size: 2.68 MB | price: $299.95 | date: 6/11/2005...PDFViewer OCX is an ActiveX component which enables your application to display and interact with PDF files. Simply place the control on your form, set the Path property, and you are all set! PDFViewer OCX is...RSP MP3 OGG Vorbis Encode OCX 1.0.0screenshot | size: 601 KB | price: $50 | date: 12/10/2003... MP3 OGG Vorbis Encode OCX 1.0.0 is an ActiveX OCX to...Balloon OCX 2.0screenshot | size: 314 KB | price: $9.95 | date: 8/4/2003...Balloon OCX is a powerful ActiveX Control that allows you to create cool customizedtooltips for your controls! Some advantages that Balloon OCX ha...ViewPDF OCX 2.0screenshot | size: 1.47 MB | price: $199.95 | date: 2/3/2006...ViewPDF OCX is an ActiveX component which enables your application to display and interact with PDF files. Simply place the control on your form, set the Path property, and you are all set! ViewPDF OCX is...Registrator II 2.00.0015screenshot | size: 2.01 MB | price: $25 | date: 6/18/2003Lets users register system files and repair registry in a few clicks....braries (dll), and COM ActiveX compon...Related Terms for X360 Video Player Activex OcxVideo Activex Media Player, X360 Multiple Video Player Activex Sdk, X360 Exif Tiff Tag Viewer Activex Ocx, X360 Outlook Express Activex Ocx, Gogo Exif Image Viewer Pro Activex Ocx, X360 Video Player Activex Ocx, X360 Multiple Video Player Activex Ocx, Gogo Exif Image Viewer Activex Ocx, X360 Multi Page Tiff Viewer Activex Ocx, Video Activex Media Player 9.
2025-04-03Default sticky note annotation settings.StandaloneServer-Backedimport * as ReactDOM from 'react-dom';import * as React from 'react';import { PdfViewerComponent, Toolbar, Magnification, Navigation, LinkAnnotation, BookmarkView, ThumbnailView, Print, TextSelection, TextSearch, Annotation, FormFields, FormDesigner, PageOrganizer, Inject } from '@syncfusion/ej2-react-pdfviewer';let pdfviewer;function App() { return (div> div className='control-section'> PdfViewerComponent ref={(scope) => { pdfviewer = scope; }} id="container" documentPath=" resourceUrl=" stampSettings={{opacity: 0.3, author: 'Guest User'}} style={{ 'height': '640px' }}> Inject services={[ Toolbar, Annotation, Magnification, Navigation, LinkAnnotation, BookmarkView, ThumbnailView, Print, TextSelection, TextSearch, FormFields, FormDesigner, PageOrganizer]} /> /PdfViewerComponent> /div> /div>);}const root = ReactDOM.createRoot(document.getElementById('sample'));root.render(App />);import * as ReactDOM from 'react-dom';import * as React from 'react';import { PdfViewerComponent, Toolbar, Magnification, Navigation, LinkAnnotation, BookmarkView, ThumbnailView, Print, TextSelection, TextSearch, Annotation, FormFields, FormDesigner, PageOrganizer, Inject } from '@syncfusion/ej2-react-pdfviewer';let pdfviewer;function App() { return (div> div className='control-section'> PdfViewerComponent ref={(scope) => { pdfviewer = scope; }} id="container" documentPath=" serviceUrl=" stampSettings={{opacity: 0.3, author: 'Guest User'}} style={{ 'height': '640px' }}> Inject services={[ Toolbar, Annotation, Magnification, Navigation, LinkAnnotation, BookmarkView, ThumbnailView, Print, TextSelection, TextSearch, FormFields, FormDesigner, PageOrganizer]} /> /PdfViewerComponent> /div> /div>);}const root = ReactDOM.createRoot(document.getElementById('sample'));root.render(App />);
2025-04-065 Sep 20248 minutes to readThis section explains the steps required to create a simple Angular PDF Viewer and demonstrates the basic usage of the PDF Viewer control in a Angular CLI application.Setup Angular EnvironmentYou can use the Angular CLI to setup your Angular applications.To install the latest Angular CLI globally use the following command.npm install -g @angular/cli Use the command npm install –save @angular/[email protected] to install the Angular CLI version 12.0.2Create an Angular ApplicationStart a new Angular application using the Angular CLI command as follows.Installing Syncfusion PDF Viewer packageAll the available Essential JS 2 packages are published in npmjs.com registry. To install PDF Viewer component, use the following command.npm install @syncfusion/ej2-angular-pdfviewer --saveRegistering PDF Viewer ModuleImport PDF Viewer module into Angular application(app.module.ts) from the package @syncfusion/ej2-angular-pdfviewer [src/app/app.module.ts].import { NgModule } from '@angular/core';import { BrowserModule } from '@angular/platform-browser';// import the PdfViewer Module for the PDF Viewer componentimport { PdfViewerModule, LinkAnnotationService, BookmarkViewService, MagnificationService, ThumbnailViewService, ToolbarService, NavigationService, TextSearchService, TextSelectionService, PrintService, FormDesignerService, FormFieldsService, AnnotationService, PageOrganizerService } from '@syncfusion/ej2-angular-pdfviewer';import { AppComponent } from './app.component';@NgModule({ //declaration of ej2-angular-pdfviewer module into NgModule imports: [BrowserModule, PdfViewerModule], declarations: [AppComponent], bootstrap: [AppComponent], providers: [ LinkAnnotationService, BookmarkViewService, MagnificationService, ThumbnailViewService, ToolbarService, NavigationService, TextSearchService, TextSelectionService, PrintService, AnnotationService, FormDesignerService, FormFieldsService, PageOrganizerService]})export class AppModule { }Adding CSS referenceAdd the Angular PDF Viewer component’s styles as given below in src/styles.css file.@import '../node_modules/@syncfusion/ej2-base/styles/material.css';@import '../node_modules/@syncfusion/ej2-buttons/styles/material.css';@import '../node_modules/@syncfusion/ej2-dropdowns/styles/material.css';@import '../node_modules/@syncfusion/ej2-inputs/styles/material.css';@import '../node_modules/@syncfusion/ej2-navigations/styles/material.css';@import '../node_modules/@syncfusion/ej2-popups/styles/material.css';@import '../node_modules/@syncfusion/ej2-splitbuttons/styles/material.css';@import '../node_modules/@syncfusion/ej2-pdfviewer/styles/material.css';@import '../node_modules/@syncfusion/ej2-notifications/styles/material.css';Adding PDF Viewer componentAdd the Angular PDF Viewer by using selector in template section of the src/app/app.component.ts file to render the PDF Viewer component.import { Component, OnInit } from '@angular/core';import { PdfViewerModule, LinkAnnotationService, BookmarkViewService, MagnificationService, ThumbnailViewService, ToolbarService, NavigationService, TextSearchService, TextSelectionService, PrintService, FormDesignerService, FormFieldsService, AnnotationService, PageOrganizerService } from '@syncfusion/ej2-angular-pdfviewer';@Component({ selector: 'app-root', // specifies the template string for the PDF Viewer component template: ` [serviceUrl]='service' [documentPath]='document' style="height:640px;display:block"> `, providers: [ LinkAnnotationService, BookmarkViewService, MagnificationService, ThumbnailViewService, ToolbarService, NavigationService, TextSearchService, TextSelectionService, PrintService, AnnotationService, FormDesignerService, FormFieldsService, PageOrganizerService]})export class AppComponent implements OnInit { public service = ' public document: string = ' ngOnInit(): void { }}Run the applicationUse the following command to run the application in browser.The output will appear as follows.app.component.tsmain.tsimport { BrowserModule } from '@angular/platform-browser'import { NgModule } from '@angular/core'import {
2025-04-19File. You can refer to the examples in lib\stamps\en-US\DynamicStamps folder. Create a custom stamp listA custom stamp list can be predefined by calling the API pdfViewer.initAnnotationIcons() and loaded into the viewer. Once the following code runs, the default stamp list will be overwritten.var initIcons = { MyCategory1: { StampName1: { fileType: "jpg", url: " } }, MyCategory2: { StampName2: { fileType: "png", url: "stamp.png" } }, ... }; var pdfViewer = await pdfui.getPDFViewer(); await pdfViewer.initAnnotationIcons({ stamp: initIcons }); Remove custom stamps//remove a stamp with the category and name as 'MyCategory1' and 'StampName1' from you stamp list var pdfViewer = await pdfui.getPDFViewer(); await pdfViewer.removeAnnotationIcon('stamp','MyCategory1','StampName1') //clear the whole stamp list var pdfViewer = await pdfui.getPDFViewer(); await pdfViewer.removeAnnotationIcon('stamp','','StampName1') //clear all stampes under 'MyCategory1' var pdfViewer = await pdfui.getPDFViewer(); await pdfViewer.removeAnnotationIcon('stamp','MyCategory1','') Add a new custom stampvar icons = { annotType: "stamp", fileType: "png", url: " // width:80, // height:30, category: "MyCategory", name: "MyStamp" }; var pdfViewer = await pdfui.getPDFViewer(); await pdfViewer.addAnnotationIcon(icons); About the stamp category and nameStamps are organized by category and name. To find out what stamps already exist in your list, the easy way is to check the category and name information by calling pdfui.getAnnotationIcons(). Here are code samples. Get the stamp category and name//list all available stamps await pdfui.getAnnotationIcons("stamp", false); //list only custom stamps await pdfui.getAnnotationIcons("stamp", true); You also execute the following code to output the existing stamps. var allIcons = pdfui.getAnnotationIcons("stamp", false); var iconNames = []; for (var categoryKey in allIcons) { var category = allIcons[categoryKey]; for (var name in category) { iconNames.push({ category: categoryKey, name }); } } console.log(iconNames); Set the default tool to a particular stamp in ViewerUse the PDFUI constructor option to define a stamp as the default tool handler: pdfui = new UIExtension.PDFUI({ customs: { defaultStateHandler: PDFViewCtrl.STATE_HANDLER_NAMESSTATE_HANDLER_CREATE_STAMP handlerParams: { category: 'SignHere', name: 'SignHere' } }; }) Use the API StateHandlerManager.switchTo() to set default tool: pdfui.getStateHandlerManager().then(handlerManager => handlerManager.switchTo( PDFViewCtrl.STATE_HANDLER_NAMES.STATE_HANDLER_CREATE_STAMP, { category: "SignHere", name: "SignHere", url: " or "blob: showUrl: " or "blob: fileType:'png', width:80, height:30, } ) ); Add stamp to a cropped pagevar pdfviewer = await pdfui.getPDFViewer(); var pdfdoc = await pdfviewer.getCurrentPDFDoc(); var page = await pdfdoc.getPageByIndex(0); var rect = await page.getPageBox(PDFViewCtrl.PDF.constant.Box_Type.MediaBox); if(page.isCropped()){ //The rect transformation between the original page coordinates to visible page coordinates. var matrix = await page.getPDFMatrix(); matrix.setReverse(matrix); var rectArr = matrix.transformRect(rect.left, rect.top, rect.right, rect.bottom); rect = {left: rectArr[0], bottom: rectArr[1], right: rectArr[2], top: rectArr[3]}; } var json = {type:'stamp',rect: {left:0,right:400,top:250,bottom:0}, iconInfo:{annotType: "stamp",catagory:
2025-04-17Namespace:ceTe.DynamicPDF.ViewerAssemblies:DynamicPDF.Viewer.dllMoves to the first page of the document.public void GoToFirstPage()Sub GoToFirstPage()Licensing InfoThis method is a DynamicPDF Viewer feature. One of the following is required for non-evaluation usage:An active DynamicPDF SubscriptionAn active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Viewer selected.A DynamicPDF Viewer for .NET v3.X Developer license.ExamplesThe following example will show how to move to first page of the document.Imports SystemImports System.Windows.FormsImports ceTe.DynamicPDF.ViewerPublic Class Form1 Inherits System.Windows.Forms.Form Private MyPdfViewer As PdfViewer Sub New() InitializeComponent() End Sub Private Sub InitializeComponent() Me.MyPdfViewer = New PdfViewer() Me.Controls.Add(MyPdfViewer) End Sub Shared Sub Main() Application.Run(New Form1()) End Sub Private Sub NavigateToPage() ' Open document in Viewer. MyPdfViewer.Open("C:\MyDocument.pdf") ' Move to first page. MyPdfViewer.GoToFirstPage() End SubEnd Classusing System;using System.Windows.Forms;using ceTe.DynamicPDF.Viewer;namespace DynamicPDFViewerDemo{ public class Form1 : Form { private ceTe.DynamicPDF.Viewer.PdfViewer dpdfViewer; public Form1() { InitializeComponent(); } [STAThread] static void Main() { Application.Run(new Form1()); } private void InitializeComponent() { this.dpdfViewer = new PdfViewer(); this.Controls.Add(dpdfViewer); } private void NavigateToPage() { // Open document in Viewer. Open(@"C:\MyDocument.pdf"); // Move to first page. GoToFirstPage(); } }}See AlsoPdfViewerceTe.DynamicPDF.Viewer
2025-04-12CustomStamps: [ { customStampName: "Image", customStampImageSource: "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBwgHBgkIBwgKCgkLDRYPDQwMDRsUFRAWIB0iIiAdHx8kKDQsJCYxJx8fLT0tMTU3Ojo6Iys/RD84QzQ5OjcBCgoKDQwNGg8PGjclHyU3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3N//AABEIAIIAqwMBIgACEQEDEQH/xAAbAAEAAgMBAQAAAAAAAAAAAAAABQYBAwQHAv/EAEEQAAEDAwIEAwYDBAYLAAAAAAECAwQABREGIRIxQVETYXEHFCIygZEVQmIjUnKCJCUzU6HRFhc1c5KisbKzwvD/xAAVAQEBAAAAAAAAAAAAAAAAAAAAAf/EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAMAwEAAhEDEQA/APcaUpQKUpQKUpQKUpQKUpQKVzXGdFtsN2ZPfbYjNJ4nHHDgJFfEK5Q5ttbuUaQhcNxvxUPcklPfflQdlYJxURpe/salthuMNpxEYvuNtKc28VKVcPGB2JB577Vyz7pNuUxy26eWlCml8Mu4OI4kR/0oB2Wvp2T17EJK43qDbloakOqL7m6I7TanHVjOMhCQTjzxgVut89i4Mqdj8Y4VlC0OIKFIU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LZi4SXHowfcUeZU58ZP3VUpqNlcjT1zYaGVuRHUJA6koIFcuiZDcnR9lea+RcFkgdvgG1BN1omS48GM7JluoZYaSVuOLOEpSOZJrXdLjEtUF2bcJLceM0MrccOAP8AP0qqR4czWk1qfd2HItgZWFxLe6MLlKHJ14dE9kH1NBttDEjVVzYvtxaUza4547ZCdThSz0kLHQ4+UdAc86tcmQzDjOyJLiW2WUFxxxWwSkDJJ+lbQAOVVPU6vx29xdLsqPgBKZdzIG3ghWEtE9CtX/Kk0GzSTDlwekamnNlL08BMNCs5ZijdAweRVniPqB0qsarce1XrezWlghVsiTCp3B/tFtDicPok8CP4lq7VedSzXYFr8OBwpmyVCPEyPhStQPxEfupAKj5JNVz2eW9t2RIvLJWqGlsQbetXN1pCsuPerjmVZ6gCqLyBis0pUClKUClKUClKUClKUClKUClKUGCMjFVNqw36yeOxpmbb/wAPdcU43GntLPuqlHJCFJO6ckkJI2zzq20oKtE0iZE5q46mnKu8to8TLSmwiMwe6G99/wBSiTVoGwrNcV4uUez2yTcJiiGY7ZWrAyT2AHUk7D1oMXq6R7PapNxlk+FHQVkAZKj0SB1JOAPWozRtqfhW5ybcf9qXJz3qZk54FEbNg9kDCfoT1qGi++alvEGJdGwlq2hE+e0FApTKVu0we4Qk8R7nhNXkcqCs6q0zK1DcIWbkqNbW23ESmWk4ceCsZAV+UEAgnngnvViix2okZqPHbS2y0kIbQkYCUjYAVtpQKUpQKUpQKUpQKUpQKUpQKUpQKUpQKUpQKouv7mwi7W2HJBdZiJNxXHSd5DoUER2gOpU4rI/gq9VxO2i3PXRu6OwmFz2m/DbkKQCtKck4B+p+9BxaTtblqtQEvhM+UtUqatO4U8vdW/YbJHkkVNVgDFZoFKUoFKUoFKUoFKUoFKUoFKUoFKUoFKUoFKUoFKUoFKUoFKUoFKUoFKUoFKUoFKUoFKUoFKUoP//Z" } ] }); } return (div> button onClick={dynamicStamp}>Dynamic Stamp/button> button onClick={signStamp}>Sign Stamp/button> button onClick={standardBusinessStamp}>StandardBusiness Stamp/button> button onClick={addCustomStamp}>Add Custom Stamp Programmatically/button> div className='control-section'> PdfViewerComponent ref={(scope) => { pdfviewer = scope; }} id="container" documentPath=" serviceUrl=" style={{ 'height': '640px' }}> Inject services={[ Toolbar, Annotation, Magnification, Navigation, LinkAnnotation, BookmarkView, ThumbnailView, Print, TextSelection, TextSearch, FormFields, FormDesigner, PageOrganizer]} /> /PdfViewerComponent> /div> /div>);}const root = ReactDOM.createRoot(document.getElementById('sample'));root.render(App />);Edit the existing sticky note annotation programmaticallyTo modify existing sticky note annotation in the Syncfusion PDF viewer programmatically, you can use the editAnnotation() method.Here is an example of how you can use the editAnnotation() method:StandaloneServer-Backedimport * as ReactDOM from 'react-dom';import * as React from 'react';import './index.css';import { PdfViewerComponent, Toolbar, Magnification, Navigation, LinkAnnotation, BookmarkView, ThumbnailView, Print, TextSelection, TextSearch, Annotation, FormFields, FormDesigner, PageOrganizer, Inject } from '@syncfusion/ej2-react-pdfviewer';let pdfviewer;function App() { function editAnnotation() { var viewer = document.getElementById('container').ej2_instances[0]; for (let i = 0; i viewer.annotationCollection.length; i++) { if (viewer.annotationCollection[i].shapeAnnotationType === "stamp") { var width = viewer.annotationCollection[i].bounds.width; var height = viewer.annotationCollection[i].bounds.height; viewer.annotationCollection[i].bounds = { x: 100, y: 100, width: width, height: height }; viewer.annotationCollection[i].annotationSettings.isLock = true; viewer.annotation.editAnnotation(viewer.annotationCollection[i]); } } } return (div> button onClick={editAnnotation}>Edit Annotation programatically/button> div className='control-section'> PdfViewerComponent ref={(scope) => { pdfviewer = scope; }} id="container" documentPath=" resourceUrl=" style={{ 'height': '640px' }}> Inject services={[ Toolbar, Annotation, Magnification, Navigation, LinkAnnotation, BookmarkView, ThumbnailView, Print, TextSelection, TextSearch, FormFields, FormDesigner, PageOrganizer]} /> /PdfViewerComponent> /div> /div>);}const root = ReactDOM.createRoot(document.getElementById('sample'));root.render(App />);import * as ReactDOM from 'react-dom';import * as React from 'react';import './index.css';import { PdfViewerComponent, Toolbar, Magnification, Navigation, LinkAnnotation, BookmarkView, ThumbnailView, Print, TextSelection, TextSearch, Annotation, FormFields, FormDesigner, PageOrganizer, Inject } from '@syncfusion/ej2-react-pdfviewer';let pdfviewer;function App() { function editAnnotation() { var viewer = document.getElementById('container').ej2_instances[0]; for (let i = 0; i viewer.annotationCollection.length; i++) { if (viewer.annotationCollection[i].shapeAnnotationType === "stamp") { var width = viewer.annotationCollection[i].bounds.width; var height = viewer.annotationCollection[i].bounds.height; viewer.annotationCollection[i].bounds = { x: 100, y: 100, width: width, height: height }; viewer.annotationCollection[i].annotationSettings.isLock = true; viewer.annotation.editAnnotation(viewer.annotationCollection[i]); } } } return (div> button onClick={editAnnotation}>Edit Annotation programatically/button> div className='control-section'> PdfViewerComponent ref={(scope) => { pdfviewer = scope; }} id="container" documentPath=" serviceUrl=" style={{ 'height': '640px' }}> Inject services={[ Toolbar, Annotation, Magnification, Navigation, LinkAnnotation, BookmarkView, ThumbnailView, Print, TextSelection, TextSearch, FormFields, FormDesigner, PageOrganizer]} /> /PdfViewerComponent> /div> /div>);}const root = ReactDOM.createRoot(document.getElementById('sample'));root.render(App />);Setting default properties during control initializationThe properties of the stamp annotation can be set before creating the control using the StampSettings.After editing the default opacity using the Edit Opacity tool, they will be changed to the selected values.Refer to the following code sample to set the
2025-04-04