Table of Contents

Method Encode

Namespace
PdfSharp.Pdf.Filters
Assembly
PdfSharp.dll

Encode(byte[], string)

Encodes the data with the specified filter.

public static byte[]? Encode(byte[] data, string filterName)

Parameters

data byte[]
filterName string

Returns

byte[]

Encode(string, string)

Encodes a raw string with the specified filter.

public static byte[]? Encode(string rawString, string filterName)

Parameters

rawString string
filterName string

Returns

byte[]