Skip to main content
A newer version of this page is available. .
All docs
V20.2
.NET Framework 4.5.2+

PdfViewerAnnotationExtensions.AsTextAnnotation(IPdfViewerMarkupAnnotation) Method

Casts the IPdfViewerMarkupAnnotation object to the IPdfViewerTextAnnotation object.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Pdf.v20.2.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