Specify which layers should be visible during rendering. Default is null.

Namespace: TallComponents.PDF.Configuration
Assembly: TallComponents.PDF.Controls.WinForms (in TallComponents.PDF.Controls.WinForms.dll) Version: 2.0.46.0

Syntax

C#
public LayerCollection Layers { get; set; }
Visual Basic
Public Property Layers As LayerCollection
	Get
	Set

Remarks

If null is provided, the layers are rendered as specified in document.Layers.

If you want to render all layers, iterate over the items in the document.Layers collection and set all Visible properties to true.

See Also