Bitmap for UWP
MapCharacters(TextAnalysisSource,Int32,Int32,FontCollection,String,FontWeight,FontStyle,FontStretch,Int32,Single) メソッド

C1.UWP.DX アセンブリ > C1.Util.DX.DirectWrite 名前空間 > FontFallback クラス > MapCharacters メソッド : MapCharacters(TextAnalysisSource,Int32,Int32,FontCollection,String,FontWeight,FontStyle,FontStretch,Int32,Single) メソッド
The text source implementation holds the text and locale.
Starting position to analyze.
Length of the text to analyze.
Default font collection to use.
Family name of the base font. If you pass null, no matching will be done against the family.
Desired weight.
Desired style.
Desired stretch.
Length of text mapped to the mapped font. This will always be less or equal to the input text length and greater than zero (if the text length is non-zero) so that the caller advances at least one character each call.
Scale factor to multiply the em size of the returned font by.
Determines an appropriate font to use to render the range of text.
シンタックス
'宣言
 
Public Overloads Function MapCharacters( _
   ByVal source As TextAnalysisSource, _
   ByVal textPosition As System.Integer, _
   ByVal textLength As System.Integer, _
   ByVal baseFontCollection As FontCollection, _
   ByVal baseFamilyName As System.String, _
   ByVal baseWeight As FontWeight, _
   ByVal baseStyle As FontStyle, _
   ByVal baseStretch As FontStretch, _
   ByRef mappedLength As System.Integer, _
   ByRef scale As System.Single _
) As Font
public Font MapCharacters( 
   TextAnalysisSource source,
   System.int textPosition,
   System.int textLength,
   FontCollection baseFontCollection,
   System.string baseFamilyName,
   FontWeight baseWeight,
   FontStyle baseStyle,
   FontStretch baseStretch,
   out System.int mappedLength,
   out System.float scale
)

パラメータ

source
The text source implementation holds the text and locale.
textPosition
Starting position to analyze.
textLength
Length of the text to analyze.
baseFontCollection
Default font collection to use.
baseFamilyName
Family name of the base font. If you pass null, no matching will be done against the family.
baseWeight
Desired weight.
baseStyle
Desired style.
baseStretch
Desired stretch.
mappedLength
Length of text mapped to the mapped font. This will always be less or equal to the input text length and greater than zero (if the text length is non-zero) so that the caller advances at least one character each call.
scale
Scale factor to multiply the em size of the returned font by.

戻り値の型

The font that should be used to render the first mappedLength characters of the text. If it returns NULL, then no known font can render the text, and mappedLength is the number of unsupported characters to skip.
参照

FontFallback クラス
FontFallback メンバ
オーバーロード一覧