Skip to main content

SingleByteEncodingResource

Version: 9.0

cete.dynamicpdf.text.singlebyteencodingresource

SingleByteEncodingResource​

Represents a single byte encoding resource.

public class SingleByteEncodingResource : Resource
Public Class SingleByteEncodingResource
Inherits Resource

Inheritance: Object → Resource → SingleByteEncodingResource

Licensing​

This class is a DynamicPDF Generator Community Edition feature.

Constructors​

SingleByteEncodingResource(Int64, Byte[])​

Initializes a new instance of the SingleByteEncodingResource font class.

public SingleByteEncodingResource(long uid, Byte[] data)
Public Sub New (uid As Long, data As Byte())

Parameters​

The unique ID of the encoder.

Byte array containing the encoders output steam.

Properties​

RequiredPdfObjects​

Gets the number of PDF objects required by the single byte encoding.

public int RequiredPdfObjects { get; }
Public Property RequiredPdfObjects As Int32

Property Value​

Int32

ResourceType​

Gets the resource type.

public ResourceType ResourceType { get; }
Public Property ResourceType As ResourceType

Property Value​

ResourceType

Uid​

Gets the unique ID of the resource. (Inherited from Resource)

public long Uid { get; }
Public Property Uid As Int64

Property Value​

Int64

Methods​

Draw(DocumentWriter)​

Draws the encoder to the given DocumentWriter object.

public void Draw(DocumentWriter writer)
Sub Draw(writer As DocumentWriter)

Parameters​

DocumentWriter to receive the encoder's output.

Equals(Object)​

Determines whether the specified Object is equal to the current Object . (Inherited from Object)

public bool Equals(Object obj)
Function Equals(obj As Object) As Boolean

Parameters​

The Object to compare with the current Object .

Returns​

true if the specified Object is equal to the current Object ; otherwise, false.

GetHashCode()​

Serves as a hash function for a particular type. (Inherited from Object)

public int GetHashCode()
Function GetHashCode() As Integer

Returns​

A hash code for the current Object .

GetType()​

Gets the Type of the current instance. (Inherited from Object)

public Type GetType()
Function GetType() As Type

Returns​

The Type instance that represents the exact runtime type of the current instance.

ToString()​

Returns a String that represents the current Object . (Inherited from Object)

public string ToString()
Function ToString() As String

Returns​

A String that represents the current Object .

See Also​

ceTe.DynamicPDF.Text