C# Class HPdf.HPdfFont

Show file Open project: ChristophGuillermet/WHITECAT_opensource Class Usage Examples

Public Methods

Method 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

Method 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 method

public GetAscent ( ) : int
return int

GetBBox() public method

public GetBBox ( ) : HPdfBox
return HPdfBox

GetCapHeight() public method

public GetCapHeight ( ) : uint
return uint

GetDescent() public method

public GetDescent ( ) : int
return int

GetEncodingName() public method

public GetEncodingName ( ) : string
return string

GetFontName() public method

public GetFontName ( ) : string
return string

GetHandle() public method

public GetHandle ( ) : IntPtr
return System.IntPtr

GetUnicodeWidth() public method

public GetUnicodeWidth ( ushort code ) : int
code ushort
return int

GetXHeight() public method

public GetXHeight ( ) : uint
return uint

HPdfFont() public method

public HPdfFont ( IntPtr hfont ) : System
hfont System.IntPtr
return System

MeasureText() public method

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
return uint

TextWidth() public method

public TextWidth ( string text, uint len ) : HPdfTextWidth
text string
len uint
return HPdfTextWidth