remove method

void remove({
  1. PdfLayer? layer,
  2. String? name,
  3. bool isRemoveGraphicalContent = false,
})

Removes layer from the collection by using layer or layer name and may also remove graphical content, if isRemoveGraphicalContent is true.

Implementation

void remove(
    {PdfLayer? layer, String? name, bool isRemoveGraphicalContent = false}) {
  _helper.remove(layer, name, isRemoveGraphicalContent);
}