Back to Devexpress

PdfViewerAnnotationExtensions.AsTextAnnotation(IPdfViewerMarkupAnnotation) Method

officefileapi-devexpress-dot-pdf-dot-pdfviewerannotationextensions-dot-astextannotation-x28-devexpress-dot-pdf-dot-ipdfviewermarkupannotation-x29.md

latest1.7 KB
Original Source

PdfViewerAnnotationExtensions.AsTextAnnotation(IPdfViewerMarkupAnnotation) Method

Casts the IPdfViewerMarkupAnnotation object to the IPdfViewerTextAnnotation object.

Namespace : DevExpress.Pdf

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

NuGet Package : DevExpress.Pdf.Drawing

Declaration

csharp
public static IPdfViewerTextAnnotation AsTextAnnotation(
    this IPdfViewerMarkupAnnotation annotation
)
vb
<ExtensionAttribute>
Public Shared Function AsTextAnnotation(
    annotation As IPdfViewerMarkupAnnotation
) As IPdfViewerTextAnnotation

Parameters

NameTypeDescription
annotationIPdfViewerMarkupAnnotation

Current IPdfViewerMarkupAnnotation instance.

|

Returns

TypeDescription
IPdfViewerTextAnnotation

The IPdfViewerTextAnnotation object that contains text annotation parameters.

|

See Also

PdfViewerAnnotationExtensions Class

PdfViewerAnnotationExtensions Members

DevExpress.Pdf Namespace