Table of Contents

Class PdfName

Namespace
MiPdf.Objects
Assembly
MiPdf.dll

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

PdfName

AESV2

public static readonly PdfName AESV2

Field Value

PdfName

AESV3

public static readonly PdfName AESV3

Field Value

PdfName

AP

public static readonly PdfName AP

Field Value

PdfName

AS

public static readonly PdfName AS

Field Value

PdfName

ASCII85Decode

public static readonly PdfName ASCII85Decode

Field Value

PdfName

ASCIIHexDecode

public static readonly PdfName ASCIIHexDecode

Field Value

PdfName

AcroForm

public static readonly PdfName AcroForm

Field Value

PdfName

ActualText

public static readonly PdfName ActualText

Field Value

PdfName

Annot

public static readonly PdfName Annot

Field Value

PdfName

Annots

public static readonly PdfName Annots

Field Value

PdfName

ArtBox

public static readonly PdfName ArtBox

Field Value

PdfName

Author

public static readonly PdfName Author

Field Value

PdfName

BBox

public static readonly PdfName BBox

Field Value

PdfName

BS

public static readonly PdfName BS

Field Value

PdfName

BaseEncoding

public static readonly PdfName BaseEncoding

Field Value

PdfName

BaseFont

public static readonly PdfName BaseFont

Field Value

PdfName

BitsPerComponent

public static readonly PdfName BitsPerComponent

Field Value

PdfName

BleedBox

public static readonly PdfName BleedBox

Field Value

PdfName

Border

public static readonly PdfName Border

Field Value

PdfName

ByteRange

public static readonly PdfName ByteRange

Field Value

PdfName

C

public static readonly PdfName C

Field Value

PdfName

CCITTFaxDecode

public static readonly PdfName CCITTFaxDecode

Field Value

PdfName

CF

public static readonly PdfName CF

Field Value

PdfName

CFM

public static readonly PdfName CFM

Field Value

PdfName

CIDFontType0

public static readonly PdfName CIDFontType0

Field Value

PdfName

CIDFontType2

public static readonly PdfName CIDFontType2

Field Value

PdfName

CIDSystemInfo

public static readonly PdfName CIDSystemInfo

Field Value

PdfName

CIDToGIDMap

public static readonly PdfName CIDToGIDMap

Field Value

PdfName

Catalog

public static readonly PdfName Catalog

Field Value

PdfName

Ch

public static readonly PdfName Ch

Field Value

PdfName

ColorSpace

public static readonly PdfName ColorSpace

Field Value

PdfName

Colors

public static readonly PdfName Colors

Field Value

PdfName

Columns

public static readonly PdfName Columns

Field Value

PdfName

Contents

public static readonly PdfName Contents

Field Value

PdfName

Count

public static readonly PdfName Count

Field Value

PdfName

CreationDate

public static readonly PdfName CreationDate

Field Value

PdfName

Creator

public static readonly PdfName Creator

Field Value

PdfName

CropBox

public static readonly PdfName CropBox

Field Value

PdfName

Crypt

public static readonly PdfName Crypt

Field Value

PdfName

DA

public static readonly PdfName DA

Field Value

PdfName

DCTDecode

public static readonly PdfName DCTDecode

Field Value

PdfName

DP

public static readonly PdfName DP

Field Value

PdfName

DR

public static readonly PdfName DR

Field Value

PdfName

DV

public static readonly PdfName DV

Field Value

PdfName

Decode

public static readonly PdfName Decode

Field Value

PdfName

DecodeParms

public static readonly PdfName DecodeParms

Field Value

PdfName

DescendantFonts

public static readonly PdfName DescendantFonts

Field Value

PdfName

Dest

public static readonly PdfName Dest

Field Value

PdfName

Dests

public static readonly PdfName Dests

Field Value

PdfName

DeviceCMYK

public static readonly PdfName DeviceCMYK

Field Value

PdfName

DeviceGray

public static readonly PdfName DeviceGray

Field Value

PdfName

DeviceRGB

public static readonly PdfName DeviceRGB

Field Value

PdfName

Differences

public static readonly PdfName Differences

Field Value

PdfName

EarlyChange

public static readonly PdfName EarlyChange

Field Value

PdfName

Encoding

public static readonly PdfName Encoding

Field Value

PdfName

Encrypt

public static readonly PdfName Encrypt

Field Value

PdfName

EncryptMetadata

public static readonly PdfName EncryptMetadata

Field Value

PdfName

ExtGState

public static readonly PdfName ExtGState

Field Value

PdfName

Extends

public static readonly PdfName Extends

Field Value

PdfName

F

public static readonly PdfName F

Field Value

PdfName

FT

public static readonly PdfName FT

Field Value

PdfName

Ff

public static readonly PdfName Ff

Field Value

PdfName

Fields

public static readonly PdfName Fields

Field Value

PdfName

Filter

public static readonly PdfName Filter

Field Value

PdfName

First

public static readonly PdfName First

Field Value

PdfName

FirstChar

public static readonly PdfName FirstChar

Field Value

PdfName

FitH

public static readonly PdfName FitH

Field Value

PdfName

FlateDecode

public static readonly PdfName FlateDecode

Field Value

PdfName

Font

public static readonly PdfName Font

Field Value

PdfName

FontDescriptor

public static readonly PdfName FontDescriptor

Field Value

PdfName

FontFile

public static readonly PdfName FontFile

Field Value

PdfName

FontFile2

public static readonly PdfName FontFile2

Field Value

PdfName

FontFile3

public static readonly PdfName FontFile3

Field Value

PdfName

FontName

public static readonly PdfName FontName

Field Value

PdfName

Form

public static readonly PdfName Form

Field Value

PdfName

ID

public static readonly PdfName ID

Field Value

PdfName

Identity

public static readonly PdfName Identity

Field Value

PdfName

IdentityH

public static readonly PdfName IdentityH

Field Value

PdfName

Image

public static readonly PdfName Image

Field Value

PdfName

Index

public static readonly PdfName Index

Field Value

PdfName

Info

public static readonly PdfName Info

Field Value

PdfName

JBIG2Decode

public static readonly PdfName JBIG2Decode

Field Value

PdfName

JPXDecode

public static readonly PdfName JPXDecode

Field Value

PdfName

K

public static readonly PdfName K

Field Value

PdfName

Keywords

public static readonly PdfName Keywords

Field Value

PdfName

Kids

public static readonly PdfName Kids

Field Value

PdfName

LZWDecode

public static readonly PdfName LZWDecode

Field Value

PdfName

LastChar

public static readonly PdfName LastChar

Field Value

PdfName

Length

public static readonly PdfName Length

Field Value

PdfName
public static readonly PdfName Link

Field Value

PdfName

M

public static readonly PdfName M

Field Value

PdfName

MK

public static readonly PdfName MK

Field Value

PdfName

Mask

public static readonly PdfName Mask

Field Value

PdfName

MediaBox

public static readonly PdfName MediaBox

Field Value

PdfName

Metadata

public static readonly PdfName Metadata

Field Value

PdfName

ModDate

public static readonly PdfName ModDate

Field Value

PdfName

N

public static readonly PdfName N

Field Value

PdfName

Name

public static readonly PdfName Name

Field Value

PdfName

NeedAppearances

public static readonly PdfName NeedAppearances

Field Value

PdfName

Next

public static readonly PdfName Next

Field Value

PdfName

ObjStm

public static readonly PdfName ObjStm

Field Value

PdfName

Off

public static readonly PdfName Off

Field Value

PdfName

Opt

public static readonly PdfName Opt

Field Value

PdfName

Outlines

public static readonly PdfName Outlines

Field Value

PdfName

P

public static readonly PdfName P

Field Value

PdfName

Page

public static readonly PdfName Page

Field Value

PdfName

Pages

public static readonly PdfName Pages

Field Value

PdfName

Parent

public static readonly PdfName Parent

Field Value

PdfName

Pattern

public static readonly PdfName Pattern

Field Value

PdfName

Perms

public static readonly PdfName Perms

Field Value

PdfName

Predictor

public static readonly PdfName Predictor

Field Value

PdfName

Prev

public static readonly PdfName Prev

Field Value

PdfName

ProcSet

public static readonly PdfName ProcSet

Field Value

PdfName

Producer

public static readonly PdfName Producer

Field Value

PdfName

Properties

public static readonly PdfName Properties

Field Value

PdfName

Q

public static readonly PdfName Q

Field Value

PdfName

Rect

public static readonly PdfName Rect

Field Value

PdfName

Resources

public static readonly PdfName Resources

Field Value

PdfName

Root

public static readonly PdfName Root

Field Value

PdfName

Rotate

public static readonly PdfName Rotate

Field Value

PdfName

RunLengthDecode

public static readonly PdfName RunLengthDecode

Field Value

PdfName

S

public static readonly PdfName S

Field Value

PdfName

SMask

public static readonly PdfName SMask

Field Value

PdfName

Shading

public static readonly PdfName Shading

Field Value

PdfName

Sig

public static readonly PdfName Sig

Field Value

PdfName

SigFlags

public static readonly PdfName SigFlags

Field Value

PdfName

Size

public static readonly PdfName Size

Field Value

PdfName

StdCF

public static readonly PdfName StdCF

Field Value

PdfName

StmF

public static readonly PdfName StmF

Field Value

PdfName

StrF

public static readonly PdfName StrF

Field Value

PdfName

StructTreeRoot

public static readonly PdfName StructTreeRoot

Field Value

PdfName

SubFilter

public static readonly PdfName SubFilter

Field Value

PdfName

Subject

public static readonly PdfName Subject

Field Value

PdfName

Subtype

public static readonly PdfName Subtype

Field Value

PdfName

T

public static readonly PdfName T

Field Value

PdfName

Title

public static readonly PdfName Title

Field Value

PdfName

ToUnicode

public static readonly PdfName ToUnicode

Field Value

PdfName

Trapped

public static readonly PdfName Trapped

Field Value

PdfName

TrimBox

public static readonly PdfName TrimBox

Field Value

PdfName

TrueType

public static readonly PdfName TrueType

Field Value

PdfName

Tx

public static readonly PdfName Tx

Field Value

PdfName

Type

public static readonly PdfName Type

Field Value

PdfName

Type0

public static readonly PdfName Type0

Field Value

PdfName

Type1

public static readonly PdfName Type1

Field Value

PdfName

Type3

public static readonly PdfName Type3

Field Value

PdfName

URI

public static readonly PdfName URI

Field Value

PdfName

V

public static readonly PdfName V

Field Value

PdfName

W

public static readonly PdfName W

Field Value

PdfName

Widget

public static readonly PdfName Widget

Field Value

PdfName

Widths

public static readonly PdfName Widths

Field Value

PdfName

WinAnsiEncoding

public static readonly PdfName WinAnsiEncoding

Field Value

PdfName

XML

public static readonly PdfName XML

Field Value

PdfName

XObject

public static readonly PdfName XObject

Field Value

PdfName

XRef

public static readonly PdfName XRef

Field Value

PdfName

XRefStm

public static readonly PdfName XRefStm

Field Value

PdfName

Properties

ObjectType

The kind of this object.

public override PdfObjectType ObjectType { get; }

Property Value

PdfObjectType

Value

The name without the leading slash (e.g. Type for /Type).

public string Value { get; }

Property Value

string

Methods

Clone()

Returns this instance (names are immutable).

public override PdfObject Clone()

Returns

PdfObject

Equals(PdfName?)

True if other has the same value (ordinal comparison).

public bool Equals(PdfName? other)

Parameters

other PdfName

Returns

bool

Equals(object?)

True if obj is a PdfName with the same value.

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Get(string)

Returns the interned name for value; a leading slash is removed.

public static PdfName Get(string value)

Parameters

value string

Returns

PdfName

Exceptions

ArgumentNullException

value is 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

a PdfName
b PdfName

Returns

bool

implicit operator PdfName(string)

Converts a string to the interned name; same as Get(string).

public static implicit operator PdfName(string value)

Parameters

value string

Returns

PdfName

operator !=(PdfName?, PdfName?)

Compares two names by value; see operator ==(PdfName?, PdfName?).

public static bool operator !=(PdfName? a, PdfName? b)

Parameters

a PdfName
b PdfName

Returns

bool