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
namestringThe 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
namestringThe name for the new layer.
visibleboolThe visibility state for the new layer.
intentsPdfLayerIntent[]The intents to specify for the new layer.