Skip to main content
All docs
V23.2

PdfViewerAnnotationExtensions.AsTextMarkupAnnotation(IPdfViewerAnnotation) Method

Casts the IPdfViewerAnnotation object to the IPdfViewerTextMarkupAnnotation object.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Pdf.v23.2.Drawing.dll

NuGet Package: DevExpress.Pdf.Drawing

Declaration

public static IPdfViewerTextMarkupAnnotation AsTextMarkupAnnotation(
    this IPdfViewerAnnotation annotation
)

Parameters

Name Type Description
annotation IPdfViewerAnnotation

Current IPdfViewerAnnotation object.

Returns

Type Description
IPdfViewerTextMarkupAnnotation

The IPdfViewerTextMarkupAnnotation object that contains text markup annotation parameters.

See Also