Skip to main content
All docs
V24.1

PdfViewerAnnotationExtensions.AsTextAnnotation(IPdfViewerMarkupAnnotation) Method

Casts the IPdfViewerMarkupAnnotation object to the IPdfViewerTextAnnotation object.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Pdf.v24.1.Drawing.dll

NuGet Package: DevExpress.Pdf.Drawing

Declaration

public static IPdfViewerTextAnnotation AsTextAnnotation(
    this IPdfViewerMarkupAnnotation annotation
)

Parameters

Name Type Description
annotation IPdfViewerMarkupAnnotation

Current IPdfViewerMarkupAnnotation instance.

Returns

Type Description
IPdfViewerTextAnnotation

The IPdfViewerTextAnnotation object that contains text annotation parameters.

See Also