Back to Devexpress

PdfMarkupAnnotationDataExtensions.AsTextMarkupAnnotation(PdfMarkupAnnotationData) Method

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

latest1.9 KB
Original Source

PdfMarkupAnnotationDataExtensions.AsTextMarkupAnnotation(PdfMarkupAnnotationData) Method

Casts the PdfMarkupAnnotationData object to the PdfTextMarkupAnnotationData object.

Namespace : DevExpress.Pdf

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

NuGet Package : DevExpress.Pdf.Core

Declaration

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

Parameters

NameTypeDescription
dataPdfMarkupAnnotationData

Current PdfMarkupAnnotationData object.

|

Returns

TypeDescription
PdfTextMarkupAnnotationData

The text markup annotation.

|

Remarks

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

See Also

PdfMarkupAnnotationDataExtensions Class

PdfMarkupAnnotationDataExtensions Members

DevExpress.Pdf Namespace