Skip to main content
All docs
V23.2

PdfViewerAnnotationExtensions.AsTextMarkupAnnotation(IPdfViewerMarkupAnnotation) Method

Casts the IPdfViewerMarkupAnnotation 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 IPdfViewerMarkupAnnotation annotation
)

Parameters

Name Type Description
annotation IPdfViewerMarkupAnnotation

Current IPdfViewerMarkupAnnotation instance.

Returns

Type Description
IPdfViewerTextMarkupAnnotation

The IPdfViewerTextMarkupAnnotation object that contains text markup annotation parameters.

See Also