officefileapi-devexpress-dot-pdf-dot-pdfoptionalcontentgroupvisibility-d87f30ac.md
Specifies whether the current visibility settings override the layer’s configuration.
Namespace : DevExpress.Pdf
Assembly : DevExpress.Pdf.v25.2.Core.dll
NuGet Package : DevExpress.Pdf.Core
public bool ManualVisibilityOverride { get; set; }
Public Property ManualVisibilityOverride As Boolean
| Type | Description |
|---|---|
| Boolean |
true to override the layer’s configuration; otherwise, false
|
When you view a document, you can override default settings for an individual layer. PdfOptionalContentGroupVisibility.ManualVisibilityOverride set to true indicates that your current visibility settings have higher priority than default configuration. For example, a PDF document can contain a layer configured to change its visibility based on zoom level. If you want to display the layer regardless of the zoom level, set both Visible and ManualVisibilityOverride to true for that layer.
Note
The ManualVisibilityOverride property is in effect only when you view a document. The default configuration is applied when you print a document.
Refer to the following topic for more information on how to control layer visibility: Manage Visibility of Layers (Optional Content Groups).
See Also
PdfOptionalContentGroupVisibility Class