Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PdfHitTestResult(PdfDocumentPosition, PdfDocumentContentType, Boolean) Constructor

In This Article

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

Namespace: DevExpress.Xpf.PdfViewer

Assembly: DevExpress.Xpf.PdfViewer.v24.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