Table of Contents

Class CName

Namespace
PdfSharp.Pdf.Content.Objects
Assembly
PdfSharp-gdi.dll

Represents a name in a PDF content stream.

public class CName : CObject, ICloneable
Inheritance
CName
Implements
Inherited Members

Constructors

CName()

Initializes a new instance of the CName class.

public CName()

CName(string)

Initializes a new instance of the CName class.

public CName(string name)

Parameters

name string

The name.

Properties

Name

Gets or sets the name. Names must start with a slash.

public string Name { get; set; }

Property Value

string

Methods

Clone()

Creates a new object that is a copy of the current instance.

public CName Clone()

Returns

CName

ToString()

Returns a string that represents the current value.

public override string? ToString()

Returns

string