C# Class HPdf.HPdfFont

Afficher le fichier Open project: ChristophGuillermet/WHITECAT_opensource Class Usage Examples

Méthodes publiques

Méthode Description
GetAscent ( ) : int
GetBBox ( ) : HPdfBox
GetCapHeight ( ) : uint
GetDescent ( ) : int
GetEncodingName ( ) : string
GetFontName ( ) : string
GetHandle ( ) : IntPtr
GetUnicodeWidth ( ushort code ) : int
GetXHeight ( ) : uint
HPdfFont ( IntPtr hfont ) : System
MeasureText ( string text, uint len, float width, float font_size, float char_space, float word_space, int wordwrap, float &real_width ) : uint
TextWidth ( string text, uint len ) : HPdfTextWidth

Private Methods

Méthode Description
HPDF_Font_GetAscent ( IntPtr hfont ) : int
HPDF_Font_GetBBox ( IntPtr hfont ) : HPdfBox
HPDF_Font_GetCapHeight ( IntPtr hfont ) : uint
HPDF_Font_GetDescent ( IntPtr hfont ) : int
HPDF_Font_GetEncodingName ( IntPtr hfont ) : string
HPDF_Font_GetFontName ( IntPtr hfont ) : string
HPDF_Font_GetUnicodeWidth ( IntPtr hfont, ushort code ) : int
HPDF_Font_GetXHeight ( IntPtr hfont ) : uint
HPDF_Font_MeasureText ( IntPtr hfont, string text, uint len, float width, float font_size, float char_space, float word_space, int wordwrap, float &real_width ) : uint
HPDF_Font_TextWidth ( IntPtr hfont, string text, uint len ) : HPdfTextWidth

Method Details

GetAscent() public méthode

public GetAscent ( ) : int
Résultat int

GetBBox() public méthode

public GetBBox ( ) : HPdfBox
Résultat HPdfBox

GetCapHeight() public méthode

public GetCapHeight ( ) : uint
Résultat uint

GetDescent() public méthode

public GetDescent ( ) : int
Résultat int

GetEncodingName() public méthode

public GetEncodingName ( ) : string
Résultat string

GetFontName() public méthode

public GetFontName ( ) : string
Résultat string

GetHandle() public méthode

public GetHandle ( ) : IntPtr
Résultat System.IntPtr

GetUnicodeWidth() public méthode

public GetUnicodeWidth ( ushort code ) : int
code ushort
Résultat int

GetXHeight() public méthode

public GetXHeight ( ) : uint
Résultat uint

HPdfFont() public méthode

public HPdfFont ( IntPtr hfont ) : System
hfont System.IntPtr
Résultat System

MeasureText() public méthode

public MeasureText ( string text, uint len, float width, float font_size, float char_space, float word_space, int wordwrap, float &real_width ) : uint
text string
len uint
width float
font_size float
char_space float
word_space float
wordwrap int
real_width float
Résultat uint

TextWidth() public méthode

public TextWidth ( string text, uint len ) : HPdfTextWidth
text string
len uint
Résultat HPdfTextWidth