Skip to main content
All docs
V23.2

PdfViewerAnnotationExtensions.AsTextAnnotation(IPdfViewerAnnotation) Method

Casts the IPdfViewerAnnotation object to the IPdfViewerTextAnnotation object.

Namespace: DevExpress.Pdf

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

NuGet Package: DevExpress.Pdf.Drawing

Declaration

public static IPdfViewerTextAnnotation AsTextAnnotation(
    this IPdfViewerAnnotation annotation
)

Parameters

Name Type Description
annotation IPdfViewerAnnotation

Current IPdfViewerAnnotation instance.

Returns

Type Description
IPdfViewerTextAnnotation

The IPdfViewerTextAnnotation object that contains text annotation parameters.

See Also