Skip to main content
All docs
V24.2

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

PdfOptionalContentUsageCategories Enum

Lists values that specify usage categories that are used to automatically control the state of layers (optional content groups).

Namespace: DevExpress.Pdf

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

NuGet Package: DevExpress.Pdf.Core

#Declaration

[Flags]
public enum PdfOptionalContentUsageCategories

#Members

Name Description
None

Disables all settings automatically applied to layers.

View

Enables settings automatically applied to the layer in view state (when you view a document in a viewer).

Print

Enables settings automatically applied to the layer in print preview or when you print a document.

Export

Enables settings automatically applied to the layer when you export a document.

Zoom

Enables settings automatically applied to the layer according to the zoom level.

Language

Enables language culture settings automatically applied to the layer.

All

Enables all settings automatically applied to layers.

#Related API Members

The following properties accept/return PdfOptionalContentUsageCategories values:

See Also