ngx-extended-pdf-viewer
Version:
Embedding PDF files in your Angular application. Highly configurable viewer including the toolbar, sidebar, and all the features you're used to.
21 lines (20 loc) • 769 B
TypeScript
import { PDFPrintRange } from './options/pdf-print-range';
export interface FindOptions {
highlightAll?: boolean;
matchCase?: boolean;
wholeWords?: boolean;
ignoreAccents?: boolean;
findMultipleSearchTexts?: boolean;
}
export declare class NgxExtendedPdfViewerService {
constructor();
findMultiple(text: Array<string>, options?: FindOptions): boolean;
find(text: string, options?: FindOptions): boolean;
findNext(): boolean;
findPrevious(): boolean;
print(printRange?: PDFPrintRange): void;
removePrintRange(): void;
setPrintRange(printRange: PDFPrintRange): void;
filteredPageCount(pageCount: number, range: PDFPrintRange): number;
isInPDFPrintRange(pageIndex: number, printRange: PDFPrintRange): boolean;
}