PdfMarkupAnnotationDataExtensions.AsTextAnnotation(PdfMarkupAnnotationData) Method
Casts the PdfMarkupAnnotationData object to the PdfTextAnnotationData object.
Namespace: DevExpress.Pdf
Assembly: DevExpress.Pdf.v23.2.Core.dll
NuGet Package: DevExpress.Pdf.Core
Declaration
Parameters
Name | Type | Description |
---|---|---|
data | PdfMarkupAnnotationData | Current PdfMarkupAnnotationData object. |
Returns
Type | Description |
---|---|
PdfTextAnnotationData | The text annotation. |
Remarks
If the PdfMarkupAnnotationData object cannot be converted, the NullReferenceException occurs.
See Also