Skip to main content

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​

object ← PdfObject ← PdfName

Implements​

IEquatable<PdfName>

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​

PdfName

ASCIIHexDecode​

public static readonly PdfName ASCIIHexDecode

Field Value​

PdfName

Annots​

public static readonly PdfName Annots

Field Value​

PdfName

BitsPerComponent​

public static readonly PdfName BitsPerComponent

Field Value​

PdfName

CCITTFaxDecode​

public static readonly PdfName CCITTFaxDecode

Field Value​

PdfName

Catalog​

public static readonly PdfName Catalog

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

CropBox​

public static readonly PdfName CropBox

Field Value​

PdfName

Crypt​

public static readonly PdfName Crypt

Field Value​

PdfName

DCTDecode​

public static readonly PdfName DCTDecode

Field Value​

PdfName

DecodeParms​

public static readonly PdfName DecodeParms

Field Value​

PdfName

Dests​

public static readonly PdfName Dests

Field Value​

PdfName

EarlyChange​

public static readonly PdfName EarlyChange

Field Value​

PdfName

Encrypt​

public static readonly PdfName Encrypt

Field Value​

PdfName

Extends​

public static readonly PdfName Extends

Field Value​

PdfName

Filter​

public static readonly PdfName Filter

Field Value​

PdfName

First​

public static readonly PdfName First

Field Value​

PdfName

FlateDecode​

public static readonly PdfName FlateDecode

Field Value​

PdfName

Font​

public static readonly PdfName Font

Field Value​

PdfName

ID​

public static readonly PdfName ID

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

Kids​

public static readonly PdfName Kids

Field Value​

PdfName

LZWDecode​

public static readonly PdfName LZWDecode

Field Value​

PdfName

Lang​

public static readonly PdfName Lang

Field Value​

PdfName

Length​

public static readonly PdfName Length

Field Value​

PdfName

Length1​

public static readonly PdfName Length1

Field Value​

PdfName

MarkInfo​

public static readonly PdfName MarkInfo

Field Value​

PdfName

MediaBox​

public static readonly PdfName MediaBox

Field Value​

PdfName

Metadata​

public static readonly PdfName Metadata

Field Value​

PdfName

N​

public static readonly PdfName N

Field Value​

PdfName

Names​

public static readonly PdfName Names

Field Value​

PdfName

ObjStm​

public static readonly PdfName ObjStm

Field Value​

PdfName

Outlines​

public static readonly PdfName Outlines

Field Value​

PdfName

OutputIntents​

public static readonly PdfName OutputIntents

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

Predictor​

public static readonly PdfName Predictor

Field Value​

PdfName

Prev​

public static readonly PdfName Prev

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

Size​

public static readonly PdfName Size

Field Value​

PdfName

StructTreeRoot​

public static readonly PdfName StructTreeRoot

Field Value​

PdfName

Subtype​

public static readonly PdfName Subtype

Field Value​

PdfName

Type​

public static readonly PdfName Type

Field Value​

PdfName

Version​

public static readonly PdfName Version

Field Value​

PdfName

W​

public static readonly PdfName W

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​

Value​

Gets the name without its leading solidus.

public string Value { get; }

Property Value​

string

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​

bool

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​

bool

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​

PdfName

GetHashCode()​

Serves as the default hash function.

public override int GetHashCode()

Returns​

int

A hash code for the current object.

ToString()​

Returns a string that represents the current object.

public override string ToString()

Returns​

string

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​

bool

operator !=(PdfName?, PdfName?)​

Compares two names for inequality.

public static bool operator !=(PdfName? left, PdfName? right)

Parameters​

left PdfName?

right PdfName?

Returns​

bool