Back to Devexpress

PdfMarkupAnnotationDataExtensions.AsTextAnnotation(PdfMarkupAnnotationData) Method

officefileapi-devexpress-dot-pdf-dot-pdfmarkupannotationdataextensions-dot-astextannotation-x28-devexpress-dot-pdf-dot-pdfmarkupannotationdata-x29.md

latest1.8 KB
Original Source

PdfMarkupAnnotationDataExtensions.AsTextAnnotation(PdfMarkupAnnotationData) Method

Casts the PdfMarkupAnnotationData object to the PdfTextAnnotationData object.

Namespace : DevExpress.Pdf

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

NuGet Package : DevExpress.Pdf.Core

Declaration

csharp
public static PdfTextAnnotationData AsTextAnnotation(
    this PdfMarkupAnnotationData data
)
vb
<ExtensionAttribute>
Public Shared Function AsTextAnnotation(
    data As PdfMarkupAnnotationData
) As PdfTextAnnotationData

Parameters

NameTypeDescription
dataPdfMarkupAnnotationData

Current PdfMarkupAnnotationData object.

|

Returns

TypeDescription
PdfTextAnnotationData

The text annotation.

|

Remarks

If the PdfMarkupAnnotationData object cannot be converted, the NullReferenceException occurs.

See Also

PdfMarkupAnnotationDataExtensions Class

PdfMarkupAnnotationDataExtensions Members

DevExpress.Pdf Namespace