ArcGIS Pro 3.8 API Reference Guide
ArcGIS.Desktop.Layouts Namespace / Element Class / SetDecorative Method
Boolean

In This Topic
    SetDecorative Method
    In This Topic
    Sets whether the element is decorative in an accessible PDF. Decorative elements are not read by assistive technologies. This setting will be ignored for elements that do not support the decorative flag. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public void SetDecorative( 
       bool isDecorative
    )
    Public Sub SetDecorative( _
       ByVal isDecorative As Boolean _
    ) 

    Parameters

    isDecorative
    Boolean
    Exceptions
    ExceptionDescription
    This method must be called within the lambda passed to QueuedTask.Run.
    Remarks
    A value of true makes the element decorative.
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.8 or higher.
    See Also