PdfMarkupAnnotationDataExtensions.AsTextMarkupAnnotation(PdfMarkupAnnotationData) Method
In This Article
Casts the PdfMarkupAnnotationData object to the PdfTextMarkupAnnotationData object.
Namespace: DevExpress.Pdf
Assembly: DevExpress.Pdf.v24.2.Core.dll
NuGet Package: DevExpress.Pdf.Core
#Declaration
public static PdfTextMarkupAnnotationData AsTextMarkupAnnotation(
this PdfMarkupAnnotationData data
)
#Parameters
Name | Type | Description |
---|---|---|
data | Pdf |
Current Pdf |
#Returns
Type | Description |
---|---|
Pdf |
The text markup annotation. |
#Remarks
If the PdfMarkupAnnotationData object cannot be converted, the NullReferenceException occurs.
See Also