Skip to main content

PdfHitTestResult(PdfDocumentPosition, PdfDocumentContentType, Boolean) Constructor

Initializes a new instance of the PdfHitTestResult class with the specified settings.

Namespace: DevExpress.Xpf.PdfViewer

Assembly: DevExpress.Xpf.PdfViewer.v23.2.dll

NuGet Package: DevExpress.Wpf.PdfViewer

Declaration

public PdfHitTestResult(
    PdfDocumentPosition position,
    PdfDocumentContentType contentType,
    bool isSelected
)

Parameters

Name Type Description
position PdfDocumentPosition

A PdfDocumentPosition object representing the page coordinates of a hit point and the page number. This value is assigned to the PdfHitTestResult.DocumentPosition property.

contentType PdfDocumentContentType

A PdfDocumentContentType enumeration value indicating the type of the PDF content corresponding to a specific document point. This value is assigned to the PdfHitTestResult.ContentType property.

isSelected Boolean

A Boolean object that indicates whether an annotation, image or text is selected. This value is assigned to the PdfHitTestResult.IsSelected property.

See Also