Skip to main content
All docs
V25.1
  • PdfOptionalContentGroupVisibility.ManualVisibilityOverride Property

    Specifies whether the current visibility settings override the layer’s configuration.

    Namespace: DevExpress.Pdf

    Assembly: DevExpress.Pdf.v25.1.Core.dll

    NuGet Package: DevExpress.Pdf.Core

    Declaration

    public bool ManualVisibilityOverride { get; set; }

    Property Value

    Type Description
    Boolean

    true to override the layer’s configuration; otherwise, false

    Remarks

    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