Skip to main content
Skip table of contents

PdfLayer

PdfLayer Public class

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph iTextSharp.text.pdf
  iTextSharp.text.pdf.PdfLayer[[PdfLayer]]
  iTextSharp.text.pdf.IPdfOCG[[IPdfOCG]]
  class iTextSharp.text.pdf.IPdfOCG interfaceStyle;
  iTextSharp.text.pdf.PdfDictionary[[PdfDictionary]]
  end
iTextSharp.text.pdf.IPdfOCG --> iTextSharp.text.pdf.PdfLayer
iTextSharp.text.pdf.PdfDictionary --> iTextSharp.text.pdf.PdfLayer

Members

Properties

Internal properties
TypeNameMethods
stringTitleget
Public properties
TypeNameMethods
List<PdfLayer>Childrenget
boolExportset
stringNameset
boolOnget, set
boolOnPanelget, set
stringPageElementset
PdfLayerParentget
PdfObjectPdfObjectget
PdfIndirectReferenceRefget, set
boolViewset

Methods

Public Static methods
ReturnsName
PdfLayerCreateTitle(string title, PdfWriter writer)
Public methods
ReturnsName
voidAddChild(PdfLayer child)
voidSetCreatorInfo(string creator, string subtype)
voidSetLanguage(string lang, bool preferred)
voidSetPrint(string subtype, bool printstate)
voidSetUser(string type, string``[] names)
voidSetZoom(float min, float max)

Details

Inheritance

Constructors

PdfLayer [1/2]

Source code

internal PdfLayer(string title)
Arguments
TypeNameDescription
stringtitle
PdfLayer [2/2]

Source code

public PdfLayer(string name, PdfWriter writer)
Arguments
TypeNameDescription
stringname
PdfWriterwriter

Methods

CreateTitle

Source code

public static PdfLayer CreateTitle(string title, PdfWriter writer)
Arguments
TypeNameDescription
stringtitle
PdfWriterwriter
AddChild

Source code

public virtual void AddChild(PdfLayer child)
Arguments
TypeNameDescription
PdfLayerchild
SetCreatorInfo

Source code

public virtual void SetCreatorInfo(string creator, string subtype)
Arguments
TypeNameDescription
stringcreator
stringsubtype
SetLanguage

Source code

public virtual void SetLanguage(string lang, bool preferred)
Arguments
TypeNameDescription
stringlang
boolpreferred
SetZoom

Source code

public virtual void SetZoom(float min, float max)
Arguments
TypeNameDescription
floatmin
floatmax
SetPrint

Source code

public virtual void SetPrint(string subtype, bool printstate)
Arguments
TypeNameDescription
stringsubtype
boolprintstate
SetUser

Source code

public virtual void SetUser(string type, string[] names)
Arguments
TypeNameDescription
stringtype
string``[]names

Properties

Title
internal string Title { get; }
Parent
public virtual PdfLayer Parent { get; }
Children
public virtual List<PdfLayer> Children { get; }
Ref
public virtual PdfIndirectReference Ref { get; set; }
Name
public virtual string Name { set; }
PdfObject
public virtual PdfObject PdfObject { get; }
On
public virtual bool On { get; set; }
Export
public virtual bool Export { set; }
View
public virtual bool View { set; }
PageElement
public virtual string PageElement { set; }
OnPanel
public virtual bool OnPanel { get; set; }

Generated with ModularDoc

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.