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.v20.1.dll

Declaration

public PdfHitTestResult(
    PdfDocumentPosition position,
    PdfDocumentContentType contentType,
    bool isSelected
)
Public Sub New(
    position As PdfDocumentPosition,
    contentType As PdfDocumentContentType,
    isSelected As Boolean
)

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