PdfStyle QML Type

A styling interface for the PDF viewer components. 更多...

import 語句: import QtQuick.Pdf
繼承:

QtObject

特性

詳細描述

PdfStyle provides properties to modify the appearance of PdfMultiPageView , PdfScrollablePageView ,和 PdfPageView .

Default styles are provided to match the styles in Qt Quick Controls . File selectors are used to load the PDF style corresponding to the Controls style in use. Custom styles are possible, using different file selectors .

特性文檔編製

currentSearchResultStrokeColor : color

The color of the box outline around the current search result .

另請參閱 PdfMultiPageView::searchBack (), PdfMultiPageView::searchForward (),和 PdfSearchModel::currentResult .

currentSearchResultStrokeWidth : real

The line width of the box outline around the current search result .

另請參閱 PdfMultiPageView::searchBack (), PdfMultiPageView::searchForward (),和 PdfSearchModel::currentResult .

pageSearchResultsColor : color

The color of translucent rectangles that are overlaid on text that matches the search string .

另請參閱 PdfSearchModel .

selectionColor : color

The color of translucent rectangles that are overlaid on selected text .

另請參閱 PdfSelection .