Table of Contents

Class ShapingRequest

Namespace
PDFjet.NET
Assembly
PDFjet.dll

What a shaper is asked to shape: the text, its language, the font files, the font size and the width of the lines. One object, so that what a shaper is told can grow without changing the IShaper interface.

public sealed class ShapingRequest
Inheritance
ShapingRequest
Inherited Members

Constructors

ShapingRequest(string, string, byte[][], float, float)

A request to shape text.

public ShapingRequest(string text, string language, byte[][] fontFiles, float fontSize, float width)

Parameters

text string
language string
fontFiles byte[][]
fontSize float
width float

Properties

FontFiles

The bytes of the font files: the first for the text, the others, in order, for the characters it does not have.

public byte[][] FontFiles { get; }

Property Value

byte[][]

FontSize

The font size, in points.

public float FontSize { get; }

Property Value

float

Language

The language of the text, such as "hi" or "km", or null.

public string Language { get; }

Property Value

string

Text

The text.

public string Text { get; }

Property Value

string

Width

The width of the lines, in points.

public float Width { get; }

Property Value

float