Table of Contents

Method FromOpenTypeStretch

Namespace
PdfSharp.Drawing
Assembly
PdfSharp.dll

FromOpenTypeStretch(int)

Creates a new instance of System.Windows.XFontStretch that corresponds to the OpenType usStretchClass value.

public static XFontStretch FromOpenTypeStretch(int stretchValue)

Parameters

stretchValue int

An integer value between one and nine that corresponds to the usStretchValue definition in the OpenType specification.

Returns

XFontStretch

A new instance of System.Windows.XFontStretch.