Skip to main content
All docs
V25.1
  • PdfViewerAnnotationExtensions.AsTextAnnotation(IPdfViewerMarkupAnnotation) Method

    Casts the IPdfViewerMarkupAnnotation object to the IPdfViewerTextAnnotation object.

    Namespace: DevExpress.Pdf

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