Back to Devexpress

PdfViewerControl.IsDocumentPositionInView(PdfDocumentPosition) Method

wpf-devexpress-dot-xpf-dot-pdfviewer-dot-pdfviewercontrol-dot-isdocumentpositioninview-x28-devexpress-dot-pdf-dot-pdfdocumentposition-x29.md

latest1.9 KB
Original Source

PdfViewerControl.IsDocumentPositionInView(PdfDocumentPosition) Method

Indicates the current visibility of a specific PdfDocumentPosition.

Namespace : DevExpress.Xpf.PdfViewer

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

NuGet Package : DevExpress.Wpf.PdfViewer

Declaration

csharp
public virtual bool IsDocumentPositionInView(
    PdfDocumentPosition position
)
vb
Public Overridable Function IsDocumentPositionInView(
    position As PdfDocumentPosition
) As Boolean

Parameters

NameTypeDescription
positionPdfDocumentPosition

A PdfDocumentPosition object that contains information about a specific document’s position.

|

Returns

TypeDescription
Boolean

true, if a specific PDF document position is visible; otherwise, false.

|

Remarks

When you call the IsVisible method for a nullable PdfDocumentPosition or before any document has been loaded, an InvalidOperationException is thrown.

See Also

PdfViewerControl Class

PdfViewerControl Members

DevExpress.Xpf.PdfViewer Namespace