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

PdfViewerAnnotationExtensions.AsTextMarkupAnnotation(IPdfViewerAnnotation) Method

Casts the IPdfViewerAnnotation object to the IPdfViewerTextMarkupAnnotation object.

Namespace: DevExpress.Pdf

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