Table of Contents

Method CreateLayer

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

CreateLayer(string)

Creates a new PdfLayer with specified name and adds it to the collection of documents layers.

public PdfLayer CreateLayer(string name)

Parameters

name string

The name for the new layer.

Returns

PdfLayer

The newly created PdfLayer.

Remarks

The new layer is Visible and has all known PdfLayerIntent names specified.

CreateLayer(string, bool, params PdfLayerIntent[])

Creates a new PdfLayer with specified name and properties and adds it to the collection of documents layers.

public PdfLayer CreateLayer(string name, bool visible, params PdfLayerIntent[] intents)

Parameters

name string

The name for the new layer.

visible bool

The visibility state for the new layer.

intents PdfLayerIntent[]

The intents to specify for the new layer.

Returns

PdfLayer

The newly created PdfLayer.