Class PdfName
A PDF name object (e.g. /Type). Instances are interned, so reference comparison is valid,
but Equals(object?) also compares by value. The value excludes the leading slash.
public sealed class PdfName : PdfObject, IEquatable<PdfName>
- Inheritance
-
PdfName
- Implements
- Inherited Members
Remarks
Frequently used names are available as static fields named like the PDF name they represent,
e.g. Type for /Type (exception: IdentityH is /Identity-H).
Other names are obtained with Get(string).
Fields
AA
public static readonly PdfName AA
Field Value
AESV2
public static readonly PdfName AESV2
Field Value
AESV3
public static readonly PdfName AESV3
Field Value
AP
public static readonly PdfName AP
Field Value
AS
public static readonly PdfName AS
Field Value
ASCII85Decode
public static readonly PdfName ASCII85Decode
Field Value
ASCIIHexDecode
public static readonly PdfName ASCIIHexDecode
Field Value
AcroForm
public static readonly PdfName AcroForm
Field Value
ActualText
public static readonly PdfName ActualText
Field Value
Annot
public static readonly PdfName Annot
Field Value
Annots
public static readonly PdfName Annots
Field Value
ArtBox
public static readonly PdfName ArtBox
Field Value
Author
public static readonly PdfName Author
Field Value
BBox
public static readonly PdfName BBox
Field Value
BS
public static readonly PdfName BS
Field Value
BaseEncoding
public static readonly PdfName BaseEncoding
Field Value
BaseFont
public static readonly PdfName BaseFont
Field Value
BitsPerComponent
public static readonly PdfName BitsPerComponent
Field Value
BleedBox
public static readonly PdfName BleedBox
Field Value
Border
public static readonly PdfName Border
Field Value
ByteRange
public static readonly PdfName ByteRange
Field Value
C
public static readonly PdfName C
Field Value
CCITTFaxDecode
public static readonly PdfName CCITTFaxDecode
Field Value
CF
public static readonly PdfName CF
Field Value
CFM
public static readonly PdfName CFM
Field Value
CIDFontType0
public static readonly PdfName CIDFontType0
Field Value
CIDFontType2
public static readonly PdfName CIDFontType2
Field Value
CIDSystemInfo
public static readonly PdfName CIDSystemInfo
Field Value
CIDToGIDMap
public static readonly PdfName CIDToGIDMap
Field Value
Catalog
public static readonly PdfName Catalog
Field Value
Ch
public static readonly PdfName Ch
Field Value
ColorSpace
public static readonly PdfName ColorSpace
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
CreationDate
public static readonly PdfName CreationDate
Field Value
Creator
public static readonly PdfName Creator
Field Value
CropBox
public static readonly PdfName CropBox
Field Value
Crypt
public static readonly PdfName Crypt
Field Value
DA
public static readonly PdfName DA
Field Value
DCTDecode
public static readonly PdfName DCTDecode
Field Value
DP
public static readonly PdfName DP
Field Value
DR
public static readonly PdfName DR
Field Value
DV
public static readonly PdfName DV
Field Value
Decode
public static readonly PdfName Decode
Field Value
DecodeParms
public static readonly PdfName DecodeParms
Field Value
DescendantFonts
public static readonly PdfName DescendantFonts
Field Value
Dest
public static readonly PdfName Dest
Field Value
Dests
public static readonly PdfName Dests
Field Value
DeviceCMYK
public static readonly PdfName DeviceCMYK
Field Value
DeviceGray
public static readonly PdfName DeviceGray
Field Value
DeviceRGB
public static readonly PdfName DeviceRGB
Field Value
Differences
public static readonly PdfName Differences
Field Value
EarlyChange
public static readonly PdfName EarlyChange
Field Value
Encoding
public static readonly PdfName Encoding
Field Value
Encrypt
public static readonly PdfName Encrypt
Field Value
EncryptMetadata
public static readonly PdfName EncryptMetadata
Field Value
ExtGState
public static readonly PdfName ExtGState
Field Value
Extends
public static readonly PdfName Extends
Field Value
F
public static readonly PdfName F
Field Value
FT
public static readonly PdfName FT
Field Value
Ff
public static readonly PdfName Ff
Field Value
Fields
public static readonly PdfName Fields
Field Value
Filter
public static readonly PdfName Filter
Field Value
First
public static readonly PdfName First
Field Value
FirstChar
public static readonly PdfName FirstChar
Field Value
FitH
public static readonly PdfName FitH
Field Value
FlateDecode
public static readonly PdfName FlateDecode
Field Value
Font
public static readonly PdfName Font
Field Value
FontDescriptor
public static readonly PdfName FontDescriptor
Field Value
FontFile
public static readonly PdfName FontFile
Field Value
FontFile2
public static readonly PdfName FontFile2
Field Value
FontFile3
public static readonly PdfName FontFile3
Field Value
FontName
public static readonly PdfName FontName
Field Value
Form
public static readonly PdfName Form
Field Value
ID
public static readonly PdfName ID
Field Value
Identity
public static readonly PdfName Identity
Field Value
IdentityH
public static readonly PdfName IdentityH
Field Value
Image
public static readonly PdfName Image
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
K
public static readonly PdfName K
Field Value
Keywords
public static readonly PdfName Keywords
Field Value
Kids
public static readonly PdfName Kids
Field Value
LZWDecode
public static readonly PdfName LZWDecode
Field Value
LastChar
public static readonly PdfName LastChar
Field Value
Length
public static readonly PdfName Length
Field Value
Link
public static readonly PdfName Link
Field Value
M
public static readonly PdfName M
Field Value
MK
public static readonly PdfName MK
Field Value
Mask
public static readonly PdfName Mask
Field Value
MediaBox
public static readonly PdfName MediaBox
Field Value
Metadata
public static readonly PdfName Metadata
Field Value
ModDate
public static readonly PdfName ModDate
Field Value
N
public static readonly PdfName N
Field Value
Name
public static readonly PdfName Name
Field Value
NeedAppearances
public static readonly PdfName NeedAppearances
Field Value
Next
public static readonly PdfName Next
Field Value
ObjStm
public static readonly PdfName ObjStm
Field Value
Off
public static readonly PdfName Off
Field Value
Opt
public static readonly PdfName Opt
Field Value
Outlines
public static readonly PdfName Outlines
Field Value
P
public static readonly PdfName P
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
Pattern
public static readonly PdfName Pattern
Field Value
Perms
public static readonly PdfName Perms
Field Value
Predictor
public static readonly PdfName Predictor
Field Value
Prev
public static readonly PdfName Prev
Field Value
ProcSet
public static readonly PdfName ProcSet
Field Value
Producer
public static readonly PdfName Producer
Field Value
Properties
public static readonly PdfName Properties
Field Value
Q
public static readonly PdfName Q
Field Value
Rect
public static readonly PdfName Rect
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
S
public static readonly PdfName S
Field Value
SMask
public static readonly PdfName SMask
Field Value
Shading
public static readonly PdfName Shading
Field Value
Sig
public static readonly PdfName Sig
Field Value
SigFlags
public static readonly PdfName SigFlags
Field Value
Size
public static readonly PdfName Size
Field Value
StdCF
public static readonly PdfName StdCF
Field Value
StmF
public static readonly PdfName StmF
Field Value
StrF
public static readonly PdfName StrF
Field Value
StructTreeRoot
public static readonly PdfName StructTreeRoot
Field Value
SubFilter
public static readonly PdfName SubFilter
Field Value
Subject
public static readonly PdfName Subject
Field Value
Subtype
public static readonly PdfName Subtype
Field Value
T
public static readonly PdfName T
Field Value
Title
public static readonly PdfName Title
Field Value
ToUnicode
public static readonly PdfName ToUnicode
Field Value
Trapped
public static readonly PdfName Trapped
Field Value
TrimBox
public static readonly PdfName TrimBox
Field Value
TrueType
public static readonly PdfName TrueType
Field Value
Tx
public static readonly PdfName Tx
Field Value
Type
public static readonly PdfName Type
Field Value
Type0
public static readonly PdfName Type0
Field Value
Type1
public static readonly PdfName Type1
Field Value
Type3
public static readonly PdfName Type3
Field Value
URI
public static readonly PdfName URI
Field Value
V
public static readonly PdfName V
Field Value
W
public static readonly PdfName W
Field Value
Widget
public static readonly PdfName Widget
Field Value
Widths
public static readonly PdfName Widths
Field Value
WinAnsiEncoding
public static readonly PdfName WinAnsiEncoding
Field Value
XML
public static readonly PdfName XML
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
ObjectType
The kind of this object.
public override PdfObjectType ObjectType { get; }
Property Value
Value
The name without the leading slash (e.g. Type for /Type).
public string Value { get; }
Property Value
Methods
Clone()
Returns this instance (names are immutable).
public override PdfObject Clone()
Returns
Equals(PdfName?)
True if other has the same value (ordinal comparison).
public bool Equals(PdfName? other)
Parameters
otherPdfName
Returns
Equals(object?)
True if obj is a PdfName with the same value.
public override bool Equals(object? obj)
Parameters
objobject
Returns
Get(string)
Returns the interned name for value; a leading slash is removed.
public static PdfName Get(string value)
Parameters
valuestring
Returns
Exceptions
- ArgumentNullException
valueis null.
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
Operators
operator ==(PdfName?, PdfName?)
Compares two names by value; two null operands are equal.
public static bool operator ==(PdfName? a, PdfName? b)
Parameters
Returns
implicit operator PdfName(string)
Converts a string to the interned name; same as Get(string).
public static implicit operator PdfName(string value)
Parameters
valuestring
Returns
operator !=(PdfName?, PdfName?)
Compares two names by value; see operator ==(PdfName?, PdfName?).
public static bool operator !=(PdfName? a, PdfName? b)