Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PdfSelectedContent.ContentType Property

Returns whether the selected content is an image or text.

Namespace: DevExpress.Maui.Pdf

Assembly: DevExpress.Maui.Pdf.dll

NuGet Package: DevExpress.Maui.Pdf

#Declaration

C#
public PdfSelectedContentType ContentType { get; }

#Property Value

Type Description
PdfSelectedContentType

An object that contains information about the selected content type.

Available values:

Name Description
None

The selection does not contain any content.

Text

The selected content is text.

Image

The selected content is an image.

#Remarks

Depending on the ContentType return value, use the Image or Text property to obtain the selected content.

See Also