Table of Contents

Class CommentToken

Namespace
UglyToad.PdfPig.Tokens
Assembly
UglyToad.PdfPig.Tokens.dll

A comment from a PDF document. Any occurrence of the percent sign character (%) outside a string or stream introduces a comment. The comment consists of all characters between the percent sign and the end of the line.

public class CommentToken : IDataToken<string>, IToken, IEquatable<IToken>
Inheritance
CommentToken
Implements
Inherited Members

Constructors

CommentToken(string)

Create a new CommentToken.

public CommentToken(string data)

Parameters

data string

The text of the comment.

Properties

Data

The text of the comment (excluding the initial percent '%' sign).

public string Data { get; }

Property Value

string

Methods

Equals(IToken)

public bool Equals(IToken obj)

Parameters

obj IToken

Returns

bool

ToString()

public override string ToString()

Returns

string