Class PdfName
Namespace: AdCodicem.Pdf.Objects
Assembly: AdCodicem.Pdf.dll
Represents a PDF name such as /Type. Names are interned, so equality is usually a reference
comparison and dictionary lookups stay cheap.
public sealed class PdfName : PdfObject, IEquatable<PdfName>
Inheritance
Implements
Inherited Members
PdfObject.Resolve(), object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Extension Methods
PdfObjectExtensions.AsArray(PdfObject?), PdfObjectExtensions.AsBoolean(PdfObject?), PdfObjectExtensions.AsDictionary(PdfObject?), PdfObjectExtensions.AsInteger(PdfObject?), PdfObjectExtensions.AsName(PdfObject?), PdfObjectExtensions.AsNumber(PdfObject?), PdfObjectExtensions.AsStream(PdfObject?), PdfObjectExtensions.AsString(PdfObject?), PdfObjectExtensions.AsText(PdfObject?), PdfObjectExtensions.Resolved(PdfObject?)
Fields
ASCII85Decode
public static readonly PdfName ASCII85Decode
Field Value
ASCIIHexDecode
public static readonly PdfName ASCIIHexDecode
Field Value
Annots
public static readonly PdfName Annots
Field Value
BitsPerComponent
public static readonly PdfName BitsPerComponent
Field Value
CCITTFaxDecode
public static readonly PdfName CCITTFaxDecode
Field Value
Catalog
public static readonly PdfName Catalog
Field Value
Colors
public static readonly PdfName Colors
Field Value
Columns
public static readonly PdfName Columns
Field Value
Contents
public static readonly PdfName Contents
Field Value
Count
public static readonly PdfName Count
Field Value
CropBox
public static readonly PdfName CropBox
Field Value
Crypt
public static readonly PdfName Crypt
Field Value
DCTDecode
public static readonly PdfName DCTDecode
Field Value
DecodeParms
public static readonly PdfName DecodeParms
Field Value
Dests
public static readonly PdfName Dests
Field Value
EarlyChange
public static readonly PdfName EarlyChange
Field Value
Encrypt
public static readonly PdfName Encrypt
Field Value
Extends
public static readonly PdfName Extends
Field Value
Filter
public static readonly PdfName Filter
Field Value
First
public static readonly PdfName First
Field Value
FlateDecode
public static readonly PdfName FlateDecode
Field Value
Font
public static readonly PdfName Font
Field Value
ID
public static readonly PdfName ID
Field Value
Index
public static readonly PdfName Index
Field Value
Info
public static readonly PdfName Info
Field Value
JBIG2Decode
public static readonly PdfName JBIG2Decode
Field Value
JPXDecode
public static readonly PdfName JPXDecode
Field Value
Kids
public static readonly PdfName Kids
Field Value
LZWDecode
public static readonly PdfName LZWDecode
Field Value
Lang
public static readonly PdfName Lang
Field Value
Length
public static readonly PdfName Length
Field Value
Length1
public static readonly PdfName Length1
Field Value
MarkInfo
public static readonly PdfName MarkInfo
Field Value
MediaBox
public static readonly PdfName MediaBox
Field Value
Metadata
public static readonly PdfName Metadata
Field Value
N
public static readonly PdfName N
Field Value
Names
public static readonly PdfName Names
Field Value
ObjStm
public static readonly PdfName ObjStm
Field Value
Outlines
public static readonly PdfName Outlines
Field Value
OutputIntents
public static readonly PdfName OutputIntents
Field Value
Page
public static readonly PdfName Page
Field Value
Pages
public static readonly PdfName Pages
Field Value
Parent
public static readonly PdfName Parent
Field Value
Predictor
public static readonly PdfName Predictor
Field Value
Prev
public static readonly PdfName Prev
Field Value
Resources
public static readonly PdfName Resources
Field Value
Root
public static readonly PdfName Root
Field Value
Rotate
public static readonly PdfName Rotate
Field Value
RunLengthDecode
public static readonly PdfName RunLengthDecode
Field Value
Size
public static readonly PdfName Size
Field Value
StructTreeRoot
public static readonly PdfName StructTreeRoot
Field Value
Subtype
public static readonly PdfName Subtype
Field Value
Type
public static readonly PdfName Type
Field Value
Version
public static readonly PdfName Version
Field Value
W
public static readonly PdfName W
Field Value
XObject
public static readonly PdfName XObject
Field Value
XRef
public static readonly PdfName XRef
Field Value
XRefStm
public static readonly PdfName XRefStm
Field Value
Properties
Value
Gets the name without its leading solidus.
public string Value { get; }
Property Value
Methods
Equals(PdfName?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(PdfName? other)
Parameters
other PdfName?
An object to compare with this object.
Returns
true if the current object is equal to the other parameter; otherwise, false.
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj object?
The object to compare with the current object.
Returns
true if the specified object is equal to the current object; otherwise, false.
Get(string)
Returns the interned name for value.
public static PdfName Get(string value)
Parameters
value string
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
A hash code for the current object.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
A string that represents the current object.
Operators
operator ==(PdfName?, PdfName?)
Compares two names for equality.
public static bool operator ==(PdfName? left, PdfName? right)
Parameters
left PdfName?
right PdfName?
Returns
operator !=(PdfName?, PdfName?)
Compares two names for inequality.
public static bool operator !=(PdfName? left, PdfName? right)
Parameters
left PdfName?
right PdfName?