Aspose::Pdf::Page::MergeLayers method

Page::MergeLayers(const System::String&) method

Merges all layers on the page into a single layer with the specified new layer name.

void Aspose::Pdf::Page::MergeLayers(const System::String &newLayerName)
ParameterTypeDescription
newLayerNameconst System::String&The name of the new layer after merging.

See Also

Page::MergeLayers(const System::String&, const System::String&) method

Merges all layers on the page into a single layer with the specified new layer name and optional content group Id.

void Aspose::Pdf::Page::MergeLayers(const System::String &newLayerName, const System::String &newOptionalContentGroupId)
ParameterTypeDescription
newLayerNameconst System::String&The name of the new layer after merging.
newOptionalContentGroupIdconst System::String&The optional content group Id for the merged layer.

See Also