[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Spec.IPdfStringExt

Class IPdfStringExt

Namespace
GrapeCity.Documents.Pdf.Spec
Assembly
GcDocs.Pdf.dll

Contains extension methods for the IPdfString interface, allows working with PdfString and PdfStringObject in the same way.

public static class IPdfStringExt
Inheritance
object
IPdfStringExt
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Methods

AsString(IPdfString)

Converts the IPdfString object to a Unicode string.

public static string AsString(this IPdfString ps)

Parameters

ps IPdfString

Returns

string

IsNullOrEmpty(IPdfString)

Returns a value indicating whether the IPdfString is null or has zero length.

public static bool IsNullOrEmpty(this IPdfString ips)

Parameters

ips IPdfString

Returns

bool

ToArray(IPdfString)

Converts the IPdfString object to a byte array.

public static byte[] ToArray(this IPdfString ps)

Parameters

ps IPdfString

Returns

byte[]