PdfSharp-WPF  1.31.7289
PdfSharp.Pdf.PdfName Class Reference

Represents a PDF name value. More...

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

Classes

class  PdfXNameComparer
 Implements a comparer that compares PdfName objects. More...
 

Public Member Functions

 PdfName ()
 Initializes a new instance of the PdfName class. More...
 
 PdfName (string value)
 Initializes a new instance of the PdfName class. More...
 
override bool Equals (object obj)
 Determines whether the specified object is equal to this name. More...
 
override int GetHashCode ()
 Returns the hash code for this instance. More...
 
override string ToString ()
 Returns the name. The string always begins with a slash. More...
 
- Public Member Functions inherited from PdfSharp.Pdf.PdfItem
PdfItem Clone ()
 Creates a copy of this object. More...
 

Static Public Member Functions

static bool operator== (PdfName name, string str)
 Determines whether the specified name and string are equal. More...
 
static bool operator!= (PdfName name, string str)
 Determines whether the specified name and string are not equal. More...
 

Static Public Attributes

static readonly PdfName Empty = new PdfName("/")
 Represents the empty name. More...
 

Properties

string Value [get]
 Gets the name as a string. More...
 
static PdfXNameComparer Comparer [get]
 Gets the comparer for this type. 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 a PDF name value.

Constructor & Destructor Documentation

◆ PdfName() [1/2]

PdfSharp.Pdf.PdfName.PdfName ( )

Initializes a new instance of the PdfName class.

◆ PdfName() [2/2]

PdfSharp.Pdf.PdfName.PdfName ( string  value)

Initializes a new instance of the PdfName class.

Member Function Documentation

◆ Equals()

override bool PdfSharp.Pdf.PdfName.Equals ( object  obj)

Determines whether the specified object is equal to this name.

◆ GetHashCode()

override int PdfSharp.Pdf.PdfName.GetHashCode ( )

Returns the hash code for this instance.

◆ operator!=()

static bool PdfSharp.Pdf.PdfName.operator!= ( PdfName  name,
string  str 
)
static

Determines whether the specified name and string are not equal.

◆ operator==()

static bool PdfSharp.Pdf.PdfName.operator== ( PdfName  name,
string  str 
)
static

Determines whether the specified name and string are equal.

◆ ToString()

override string PdfSharp.Pdf.PdfName.ToString ( )

Returns the name. The string always begins with a slash.

Member Data Documentation

◆ Empty

readonly PdfName PdfSharp.Pdf.PdfName.Empty = new PdfName("/")
static

Represents the empty name.

Property Documentation

◆ Comparer

PdfXNameComparer PdfSharp.Pdf.PdfName.Comparer
staticget

Gets the comparer for this type.

◆ Value

string PdfSharp.Pdf.PdfName.Value
get

Gets the name as a string.


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