Skip to content

# PDFCosBinaryString

Namespace: O2S.Components.PDF4NET.Core.Cos

Defines a PDF COS string.

    public class PDFCosBinaryString : PDFCosObject

Inheritance Object → PDFCosObject → PDFCosBinaryString

## Constructors

### PDFCosBinaryString()

Initializes a new PDFCosBinaryString object.

    public PDFCosBinaryString()

### PDFCosBinaryString(Byte[])

Initializes a new PDFCosBinaryString object with a byte array.

    public PDFCosBinaryString(Byte[] value)

Parameters

`value` Byte[]
Initial string value.

## Properties

### Type

Gets the object type.

    public PDFCosObjectType Type { get; }

Property Value

PDFCosObjectType

### Value

Gets or sets the object value.

    public Byte[] Value { get; set; }

Property Value

Byte[]
The byte array represented by this PDF COS string.

## Methods

### ToString()

Returns a String that represents the current Object.

    public string ToString()

Returns

String
String that represents the current Object.