Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Layers Namespace / OptionalContentProperties Class / RemoveLayer Method / RemoveLayer(OptionalContentGroup) Method
The OptionalContentGroup object that specifies the layer to remove.

In This Topic
    RemoveLayer(OptionalContentGroup) Method
    In This Topic
    Removes a specified layer. Note that this method does not remove the content associated with the layer. For content removal, see RemoveLayers.
    Syntax
    'Declaration
     
    Public Overloads Sub RemoveLayer( _
       ByVal layer As OptionalContentGroup _
    ) 
    public void RemoveLayer( 
       OptionalContentGroup layer
    )

    Parameters

    layer
    The OptionalContentGroup object that specifies the layer to remove.
    See Also