BdfFont.GetCharData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetCharData(Char, ReadOnlySpan<UInt16>) |
Get character data or data for default character |
GetCharData(Int32, Span<Int32>, Boolean) |
Get character data |
GetCharData(Char, ReadOnlySpan<UInt16>)
Get character data or data for default character
public void GetCharData (char character, out ReadOnlySpan<ushort> charData);
member this.GetCharData : char * ReadOnlySpan -> unit
Public Sub GetCharData (character As Char, ByRef charData As ReadOnlySpan(Of UShort))
Parameters
- character
- Char
Character whose data needs to be retrieved
- charData
- ReadOnlySpan<UInt16>
Character data
Applies to
GetCharData(Int32, Span<Int32>, Boolean)
Get character data
public bool GetCharData (int charOrdinal, ref Span<int> data, bool useDefaultChar = true);
member this.GetCharData : int * Span * bool -> bool
Public Function GetCharData (charOrdinal As Integer, ByRef data As Span(Of Integer), Optional useDefaultChar As Boolean = true) As Boolean
Parameters
- charOrdinal
- Int32
Character ordinal
- useDefaultChar
- Boolean
Use default character if not found
Returns
True if data could be retrieved
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for