PDFsharp-net6

CString

Namespace: PdfSharp.Pdf.Content.Objects

Represents a string value in a PDF content stream.

public class CString : CObject, System.ICloneable

Inheritance ObjectCObjectCString
Implements ICloneable

Properties

Value

Gets or sets the value.

public string Value { get; set; }

Property Value

String

CStringType

Gets or sets the type of the content string.

public CStringType CStringType { get; set; }

Property Value

CStringType

Constructors

CString()

public CString()

Methods

Clone()

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

public CString Clone()

Returns

CString

Copy()

Implements the copy mechanism of this class.

protected CObject Copy()

Returns

CObject

ToString()

Returns a string that represents the current value.

public string ToString()

Returns

String

WriteObject(ContentWriter)

internal void WriteObject(ContentWriter writer)

Parameters

writer ContentWriter