[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Layers.OptionalContentProperties.RemoveLayers

RemoveLayers Method

RemoveLayers(bool, params OptionalContentGroup[])

Removes specified layers, optionally removing content associated with those layers.

Declaration
public void RemoveLayers(bool removeContent, params OptionalContentGroup[] layers)
Public Sub RemoveLayers(removeContent As Boolean, ParamArray layers As OptionalContentGroup())
Parameters
Type Name Description
bool removeContent

Indicates whether to remove content associated with the specified layers.

OptionalContentGroup[] layers

An array of OptionalContentGroup objects that specify the layers to be removed.