Språk

GlyphRun Konstruktorer

Definition

Initierar en ny instans av GlyphRun klassen.

Överlagringar

Name Description
GlyphRun()
Föråldrad.

Initierar en ny instans av GlyphRun klassen.

GlyphRun(Single)

Initierar en ny instans av GlyphRun klassen.

GlyphRun(GlyphTypeface, Int32, Boolean, Double, IList<UInt16>, Point, IList<Double>, IList<Point>, IList<Char>, String, IList<UInt16>, IList<Boolean>, XmlLanguage)
Föråldrad.

Initierar en ny instans av GlyphRun klassen genom att ange egenskaperna för klassen.

GlyphRun(GlyphTypeface, Int32, Boolean, Double, Single, IList<UInt16>, Point, IList<Double>, IList<Point>, IList<Char>, String, IList<UInt16>, IList<Boolean>, XmlLanguage)

Initierar en ny instans av GlyphRun klassen genom att ange egenskaperna för klassen.

GlyphRun()

Varning

Use the PixelsPerDip override

Initierar en ny instans av GlyphRun klassen.

public:
 GlyphRun();
public GlyphRun();
[System.Obsolete("Use the PixelsPerDip override", false)]
public GlyphRun();
Public Sub New ()
Attribut

Gäller för

GlyphRun(Single)

Initierar en ny instans av GlyphRun klassen.

public:
 GlyphRun(float pixelsPerDip);
public GlyphRun(float pixelsPerDip);
new System.Windows.Media.GlyphRun : single -> System.Windows.Media.GlyphRun
Public Sub New (pixelsPerDip As Single)

Parametrar

pixelsPerDip
Single

Värdet pixel per densitet oberoende pixel, vilket motsvarar skalningsfaktorn. Om DPI för en skärm till exempel är 120 (eller 1,25 eftersom 120/96 = 1,25) ritas 1,25 bildpunkter per densitet oberoende pixel. DIP är den måttenhet som används av WPF för att vara oberoende av enhetsupplösning och DPI:er.

Gäller för

GlyphRun(GlyphTypeface, Int32, Boolean, Double, IList<UInt16>, Point, IList<Double>, IList<Point>, IList<Char>, String, IList<UInt16>, IList<Boolean>, XmlLanguage)

Varning

Use the PixelsPerDip override

Viktigt!

Detta API uppfyller inte CLS.

Initierar en ny instans av GlyphRun klassen genom att ange egenskaperna för klassen.

public:
 GlyphRun(System::Windows::Media::GlyphTypeface ^ glyphTypeface, int bidiLevel, bool isSideways, double renderingEmSize, System::Collections::Generic::IList<System::UInt16> ^ glyphIndices, System::Windows::Point baselineOrigin, System::Collections::Generic::IList<double> ^ advanceWidths, System::Collections::Generic::IList<System::Windows::Point> ^ glyphOffsets, System::Collections::Generic::IList<char> ^ characters, System::String ^ deviceFontName, System::Collections::Generic::IList<System::UInt16> ^ clusterMap, System::Collections::Generic::IList<bool> ^ caretStops, System::Windows::Markup::XmlLanguage ^ language);
[System.CLSCompliant(false)]
public GlyphRun(System.Windows.Media.GlyphTypeface glyphTypeface, int bidiLevel, bool isSideways, double renderingEmSize, System.Collections.Generic.IList<ushort> glyphIndices, System.Windows.Point baselineOrigin, System.Collections.Generic.IList<double> advanceWidths, System.Collections.Generic.IList<System.Windows.Point> glyphOffsets, System.Collections.Generic.IList<char> characters, string deviceFontName, System.Collections.Generic.IList<ushort> clusterMap, System.Collections.Generic.IList<bool> caretStops, System.Windows.Markup.XmlLanguage language);
[System.CLSCompliant(false)]
[System.Obsolete("Use the PixelsPerDip override", false)]
public GlyphRun(System.Windows.Media.GlyphTypeface glyphTypeface, int bidiLevel, bool isSideways, double renderingEmSize, System.Collections.Generic.IList<ushort> glyphIndices, System.Windows.Point baselineOrigin, System.Collections.Generic.IList<double> advanceWidths, System.Collections.Generic.IList<System.Windows.Point> glyphOffsets, System.Collections.Generic.IList<char> characters, string deviceFontName, System.Collections.Generic.IList<ushort> clusterMap, System.Collections.Generic.IList<bool> caretStops, System.Windows.Markup.XmlLanguage language);
[<System.CLSCompliant(false)>]
new System.Windows.Media.GlyphRun : System.Windows.Media.GlyphTypeface * int * bool * double * System.Collections.Generic.IList<uint16> * System.Windows.Point * System.Collections.Generic.IList<double> * System.Collections.Generic.IList<System.Windows.Point> * System.Collections.Generic.IList<char> * string * System.Collections.Generic.IList<uint16> * System.Collections.Generic.IList<bool> * System.Windows.Markup.XmlLanguage -> System.Windows.Media.GlyphRun
[<System.CLSCompliant(false)>]
[<System.Obsolete("Use the PixelsPerDip override", false)>]
new System.Windows.Media.GlyphRun : System.Windows.Media.GlyphTypeface * int * bool * double * System.Collections.Generic.IList<uint16> * System.Windows.Point * System.Collections.Generic.IList<double> * System.Collections.Generic.IList<System.Windows.Point> * System.Collections.Generic.IList<char> * string * System.Collections.Generic.IList<uint16> * System.Collections.Generic.IList<bool> * System.Windows.Markup.XmlLanguage -> System.Windows.Media.GlyphRun
Public Sub New (glyphTypeface As GlyphTypeface, bidiLevel As Integer, isSideways As Boolean, renderingEmSize As Double, glyphIndices As IList(Of UShort), baselineOrigin As Point, advanceWidths As IList(Of Double), glyphOffsets As IList(Of Point), characters As IList(Of Char), deviceFontName As String, clusterMap As IList(Of UShort), caretStops As IList(Of Boolean), language As XmlLanguage)

Parametrar

glyphTypeface
GlyphTypeface

Ett värde av typen GlyphTypeface.

bidiLevel
Int32

Ett värde av typen Int32.

isSideways
Boolean

Ett värde av typen Boolean.

renderingEmSize
Double

Ett värde av typen Double.

glyphIndices
IList<UInt16>

En matris av typen IList<T>.

baselineOrigin
Point

Ett värde av typen Point.

advanceWidths
IList<Double>

En matris av typen IList<T>.

glyphOffsets
IList<Point>

En matris av typen IList<T>.

characters
IList<Char>

En matris av typen IList<T>.

deviceFontName
String

Ett värde av typen String.

clusterMap
IList<UInt16>

En matris av typen IList<T>.

caretStops
IList<Boolean>

En matris av typen IList<T>.

language
XmlLanguage

Ett värde av typen XmlLanguage.

Attribut

Gäller för

GlyphRun(GlyphTypeface, Int32, Boolean, Double, Single, IList<UInt16>, Point, IList<Double>, IList<Point>, IList<Char>, String, IList<UInt16>, IList<Boolean>, XmlLanguage)

Viktigt!

Detta API uppfyller inte CLS.

Initierar en ny instans av GlyphRun klassen genom att ange egenskaperna för klassen.

public:
 GlyphRun(System::Windows::Media::GlyphTypeface ^ glyphTypeface, int bidiLevel, bool isSideways, double renderingEmSize, float pixelsPerDip, System::Collections::Generic::IList<System::UInt16> ^ glyphIndices, System::Windows::Point baselineOrigin, System::Collections::Generic::IList<double> ^ advanceWidths, System::Collections::Generic::IList<System::Windows::Point> ^ glyphOffsets, System::Collections::Generic::IList<char> ^ characters, System::String ^ deviceFontName, System::Collections::Generic::IList<System::UInt16> ^ clusterMap, System::Collections::Generic::IList<bool> ^ caretStops, System::Windows::Markup::XmlLanguage ^ language);
[System.CLSCompliant(false)]
public GlyphRun(System.Windows.Media.GlyphTypeface glyphTypeface, int bidiLevel, bool isSideways, double renderingEmSize, float pixelsPerDip, System.Collections.Generic.IList<ushort> glyphIndices, System.Windows.Point baselineOrigin, System.Collections.Generic.IList<double> advanceWidths, System.Collections.Generic.IList<System.Windows.Point> glyphOffsets, System.Collections.Generic.IList<char> characters, string deviceFontName, System.Collections.Generic.IList<ushort> clusterMap, System.Collections.Generic.IList<bool> caretStops, System.Windows.Markup.XmlLanguage language);
[<System.CLSCompliant(false)>]
new System.Windows.Media.GlyphRun : System.Windows.Media.GlyphTypeface * int * bool * double * single * System.Collections.Generic.IList<uint16> * System.Windows.Point * System.Collections.Generic.IList<double> * System.Collections.Generic.IList<System.Windows.Point> * System.Collections.Generic.IList<char> * string * System.Collections.Generic.IList<uint16> * System.Collections.Generic.IList<bool> * System.Windows.Markup.XmlLanguage -> System.Windows.Media.GlyphRun
Public Sub New (glyphTypeface As GlyphTypeface, bidiLevel As Integer, isSideways As Boolean, renderingEmSize As Double, pixelsPerDip As Single, glyphIndices As IList(Of UShort), baselineOrigin As Point, advanceWidths As IList(Of Double), glyphOffsets As IList(Of Point), characters As IList(Of Char), deviceFontName As String, clusterMap As IList(Of UShort), caretStops As IList(Of Boolean), language As XmlLanguage)

Parametrar

glyphTypeface
GlyphTypeface

Ett värde av typen GlyphTypeface.

bidiLevel
Int32

Ett värde av typen Int32.

isSideways
Boolean

Ett värde av typen Boolean.

renderingEmSize
Double

Ett värde av typen Double.

pixelsPerDip
Single

Ett värde av typen Double.

glyphIndices
IList<UInt16>

En matris av typen IList<T>.

baselineOrigin
Point

Ett värde av typen Point.

advanceWidths
IList<Double>

En matris av typen IList<T>.

glyphOffsets
IList<Point>

En matris av typen IList<T>.

characters
IList<Char>

En matris av typen IList<T>.

deviceFontName
String

Ett värde av typen String.

clusterMap
IList<UInt16>

En matris av typen IList<T>.

caretStops
IList<Boolean>

En matris av typen IList<T>.

language
XmlLanguage

Ett värde av typen XmlLanguage.

Attribut

Gäller för