Skip to main content
A newer version of this page is available. .
All docs
V20.2
.NET Framework 4.5.2+

PdfMarkupAnnotationDataExtensions.AsTextMarkupAnnotation(PdfMarkupAnnotationData) Method

Casts the PdfMarkupAnnotationData object to the PdfTextMarkupAnnotationData object.

Namespace: DevExpress.Pdf

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

NuGet Package: DevExpress.Pdf.Core

Declaration

public static PdfTextMarkupAnnotationData AsTextMarkupAnnotation(
    this PdfMarkupAnnotationData data
)

Parameters

Name Type Description
data PdfMarkupAnnotationData

Current PdfMarkupAnnotationData object.

Returns

Type Description
PdfTextMarkupAnnotationData

The text markup annotation.

Remarks

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

See Also