C# 클래스 iTextSharp.text.FontFactory

파일 보기 프로젝트 열기: mapo80/iTextSharp-Monotouch 1 사용 예제들

공개 메소드들

메소드 설명
Contains ( string fontname ) : bool

Checks whether the given font is contained within the object

GetFont ( string fontname ) : Font

Constructs a Font-object.

GetFont ( string fontname, float size ) : Font

Constructs a Font-object.

GetFont ( string fontname, float size, BaseColor color ) : Font

Constructs a Font-object.

GetFont ( string fontname, float size, int style ) : Font

Constructs a Font-object.

GetFont ( string fontname, float size, int style, BaseColor color ) : Font

Constructs a Font-object.

GetFont ( string fontname, string encoding ) : Font

Constructs a Font-object.

GetFont ( string fontname, string encoding, bool embedded ) : Font

Constructs a Font-object.

GetFont ( string fontname, string encoding, bool embedded, float size ) : Font

Constructs a Font-object.

GetFont ( string fontname, string encoding, bool embedded, float size, int style ) : Font

Constructs a Font-object.

GetFont ( string fontname, string encoding, bool embedded, float size, int style, BaseColor color ) : Font

Constructs a Font-object.

GetFont ( string fontname, string encoding, bool embedded, float size, int style, BaseColor color, bool cached ) : Font

Constructs a Font-object.

GetFont ( string fontname, string encoding, float size ) : Font

Constructs a Font-object.

GetFont ( string fontname, string encoding, float size, int style ) : Font

Constructs a Font-object.

GetFont ( string fontname, string encoding, float size, int style, BaseColor color ) : Font

Constructs a Font-object.

IsRegistered ( string fontname ) : bool

Checks if a certain font is registered.

Register ( Properties attributes ) : void
Register ( string path ) : void

Register a ttf- or a ttc-file.

Register ( string path, string alias ) : void

Register a ttf- or a ttc-file and use an alias for the font contained in the ttf-file.

RegisterDirectories ( ) : int
RegisterDirectory ( String dir ) : int
RegisterDirectory ( String dir, bool scanSubdirectories ) : int
RegisterFamily ( String familyName, String fullName, String path ) : void

비공개 메소드들

메소드 설명
FontFactory ( ) : System

Creates new FontFactory

메소드 상세

Contains() 공개 정적인 메소드

Checks whether the given font is contained within the object
public static Contains ( string fontname ) : bool
fontname string the name of the font
리턴 bool

GetFont() 공개 정적인 메소드

Constructs a Font-object.
public static GetFont ( string fontname ) : Font
fontname string the name of the font
리턴 Font

GetFont() 공개 정적인 메소드

Constructs a Font-object.
public static GetFont ( string fontname, float size ) : Font
fontname string the name of the font
size float the size of this font
리턴 Font

GetFont() 공개 정적인 메소드

Constructs a Font-object.
public static GetFont ( string fontname, float size, BaseColor color ) : Font
fontname string the name of the font
size float the size of this font
color BaseColor the BaseColor of this font
리턴 Font

GetFont() 공개 정적인 메소드

Constructs a Font-object.
public static GetFont ( string fontname, float size, int style ) : Font
fontname string the name of the font
size float the size of this font
style int the style of this font
리턴 Font

GetFont() 공개 정적인 메소드

Constructs a Font-object.
public static GetFont ( string fontname, float size, int style, BaseColor color ) : Font
fontname string the name of the font
size float the size of this font
style int the style of this font
color BaseColor the BaseColor of this font
리턴 Font

GetFont() 공개 정적인 메소드

Constructs a Font-object.
public static GetFont ( string fontname, string encoding ) : Font
fontname string the name of the font
encoding string the encoding of the font
리턴 Font

GetFont() 공개 정적인 메소드

Constructs a Font-object.
public static GetFont ( string fontname, string encoding, bool embedded ) : Font
fontname string the name of the font
encoding string the encoding of the font
embedded bool true if the font is to be embedded in the PDF
리턴 Font

GetFont() 공개 정적인 메소드

Constructs a Font-object.
public static GetFont ( string fontname, string encoding, bool embedded, float size ) : Font
fontname string the name of the font
encoding string the encoding of the font
embedded bool true if the font is to be embedded in the PDF
size float the size of this font
리턴 Font

GetFont() 공개 정적인 메소드

Constructs a Font-object.
public static GetFont ( string fontname, string encoding, bool embedded, float size, int style ) : Font
fontname string the name of the font
encoding string the encoding of the font
embedded bool true if the font is to be embedded in the PDF
size float the size of this font
style int the style of this font
리턴 Font

GetFont() 공개 정적인 메소드

Constructs a Font-object.
public static GetFont ( string fontname, string encoding, bool embedded, float size, int style, BaseColor color ) : Font
fontname string the name of the font
encoding string the encoding of the font
embedded bool true if the font is to be embedded in the PDF
size float the size of this font
style int the style of this font
color BaseColor the BaseColor of this font
리턴 Font

GetFont() 공개 정적인 메소드

Constructs a Font-object.
public static GetFont ( string fontname, string encoding, bool embedded, float size, int style, BaseColor color, bool cached ) : Font
fontname string the name of the font
encoding string the encoding of the font
embedded bool true if the font is to be embedded in the PDF
size float the size of this font
style int the style of this font
color BaseColor the BaseColor of this font
cached bool true if the font comes from the cache or is added to the cache if new, false if the font is always created new
리턴 Font

GetFont() 공개 정적인 메소드

Constructs a Font-object.
public static GetFont ( string fontname, string encoding, float size ) : Font
fontname string the name of the font
encoding string the encoding of the font
size float the size of this font
리턴 Font

GetFont() 공개 정적인 메소드

Constructs a Font-object.
public static GetFont ( string fontname, string encoding, float size, int style ) : Font
fontname string the name of the font
encoding string the encoding of the font
size float the size of this font
style int the style of this font
리턴 Font

GetFont() 공개 정적인 메소드

Constructs a Font-object.
public static GetFont ( string fontname, string encoding, float size, int style, BaseColor color ) : Font
fontname string the name of the font
encoding string the encoding of the font
size float the size of this font
style int the style of this font
color BaseColor the BaseColor of this font
리턴 Font

IsRegistered() 공개 정적인 메소드

Checks if a certain font is registered.
public static IsRegistered ( string fontname ) : bool
fontname string the name of the font that has to be checked
리턴 bool

Register() 공개 정적인 메소드

public static Register ( Properties attributes ) : void
attributes System.util.Properties
리턴 void

Register() 공개 정적인 메소드

Register a ttf- or a ttc-file.
public static Register ( string path ) : void
path string the path to a ttf- or ttc-file
리턴 void

Register() 공개 정적인 메소드

Register a ttf- or a ttc-file and use an alias for the font contained in the ttf-file.
public static Register ( string path, string alias ) : void
path string the path to a ttf- or ttc-file
alias string the alias you want to use for the font
리턴 void

RegisterDirectories() 공개 정적인 메소드

public static RegisterDirectories ( ) : int
리턴 int

RegisterDirectory() 공개 정적인 메소드

public static RegisterDirectory ( String dir ) : int
dir String
리턴 int

RegisterDirectory() 공개 정적인 메소드

public static RegisterDirectory ( String dir, bool scanSubdirectories ) : int
dir String
scanSubdirectories bool
리턴 int

RegisterFamily() 공개 정적인 메소드

public static RegisterFamily ( String familyName, String fullName, String path ) : void
familyName String
fullName String
path String
리턴 void