PDFsharp-net6

CComment

Namespace: PdfSharp.Pdf.Content.Objects

Represents a comment in a PDF content stream.

public class CComment : CObject, System.ICloneable

Inheritance ObjectCObjectCComment
Implements ICloneable

Properties

Text

Gets or sets the comment text.

public string Text { get; set; }

Property Value

String

Constructors

CComment()

public CComment()

Methods

Clone()

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

public CComment Clone()

Returns

CComment

Copy()

Implements the copy mechanism of this class.

protected CObject Copy()

Returns

CObject

ToString()

Returns a string that represents the current comment.

public string ToString()

Returns

String

WriteObject(ContentWriter)

internal void WriteObject(ContentWriter writer)

Parameters

writer ContentWriter