PdfStyle QML Type

A styling interface for the PDF viewer components. More...

Import Statement: import QtQuick.Pdf

Properties

Detailed Description

PdfStyle provides properties to modify the appearance of PdfMultiPageView, PdfScrollablePageView, and 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.

Property Documentation

currentSearchResultStrokeColor : color


currentSearchResultStrokeWidth : real


pageSearchResultsColor : color

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

See also PdfSearchModel.


selectionColor : color

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

See also PdfSelection.