PdfSharp-GDI  1.31.7289
PdfSharp.Pdf.PdfLiteral Class Reference

Represents text that is written 'as it is' into the PDF stream. This class can lead to invalid PDF files. E.g. strings in a literal are not encrypted when the document is saved with a password. More...

Inheritance diagram for PdfSharp.Pdf.PdfLiteral:
PdfSharp.Pdf.PdfItem

Public Member Functions

 PdfLiteral ()
 Initializes a new instance of the PdfLiteral class. More...
 
 PdfLiteral (string value)
 Initializes a new instance with the specified string. More...
 
 PdfLiteral (string format, params object[] args)
 Initializes a new instance with the culture invariant formatted specified arguments. More...
 
override string ToString ()
 Returns a string that represents the current value. More...
 
- Public Member Functions inherited from PdfSharp.Pdf.PdfItem
PdfItem Clone ()
 Creates a copy of this object. More...
 

Static Public Member Functions

static PdfLiteral FromMatrix (XMatrix matrix)
 Creates a literal from an XMatrix More...
 

Properties

string Value [get]
 Gets the value as litaral string. More...
 

Additional Inherited Members

- Protected Member Functions inherited from PdfSharp.Pdf.PdfItem
virtual object Copy ()
 Implements the copy mechanism. Must be overridden in derived classes. More...
 

Detailed Description

Represents text that is written 'as it is' into the PDF stream. This class can lead to invalid PDF files. E.g. strings in a literal are not encrypted when the document is saved with a password.

Constructor & Destructor Documentation

◆ PdfLiteral() [1/3]

PdfSharp.Pdf.PdfLiteral.PdfLiteral ( )

Initializes a new instance of the PdfLiteral class.

◆ PdfLiteral() [2/3]

PdfSharp.Pdf.PdfLiteral.PdfLiteral ( string  value)

Initializes a new instance with the specified string.

◆ PdfLiteral() [3/3]

PdfSharp.Pdf.PdfLiteral.PdfLiteral ( string  format,
params object[]  args 
)

Initializes a new instance with the culture invariant formatted specified arguments.

Member Function Documentation

◆ FromMatrix()

static PdfLiteral PdfSharp.Pdf.PdfLiteral.FromMatrix ( XMatrix  matrix)
static

Creates a literal from an XMatrix

◆ ToString()

override string PdfSharp.Pdf.PdfLiteral.ToString ( )

Returns a string that represents the current value.

Property Documentation

◆ Value

string PdfSharp.Pdf.PdfLiteral.Value
get

Gets the value as litaral string.


The documentation for this class was generated from the following file: