CosPdfString

Overview

CosPdfString is a class in Aspose.PDF FOSS for .NET. Inherits from: CosPdfPrimitive.

A string value, literal or hexadecimal.

This class declares 10 methods for CosPdfString objects in .NET programs. Available methods include: CosPdfString, Equals, GetHashCode, ToCosPdfBoolean, ToCosPdfDictionary, ToCosPdfName, ToCosPdfNumber, ToCosPdfString, ToString. Public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package. Properties: IsHexadecimal, Value.

Properties

NameTypeAccessDescription
IsHexadecimalboolReadWhether the string is written in hexadecimal form.
ValuestringReadThe string’s text.

Methods

SignatureDescription
CosPdfString(value: string)A literal string.
CosPdfString(value: string, isHexadecimal: bool)A string, written as hexadecimal when asked.
ToCosPdfString()Calls ToCosPdfString on this CosPdfString instance.
ToString()Calls ToString on this CosPdfString instance.
GetHashCode()Calls GetHashCode on this CosPdfString instance.
Equals(obj: object?)Calls Equals(obj) on this CosPdfString instance.
ToCosPdfNumber()Calls ToCosPdfNumber on this CosPdfString instance.
ToCosPdfName()Calls ToCosPdfName on this CosPdfString instance.
ToCosPdfBoolean()Calls ToCosPdfBoolean on this CosPdfString instance.
ToCosPdfDictionary()Calls ToCosPdfDictionary on this CosPdfString instance.

See Also