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
stringThe name for the new layer.
Returns
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
stringThe name for the new layer.
visible
boolThe visibility state for the new layer.
intents
PdfLayerIntent[]The intents to specify for the new layer.