C# Class iTextSharp.text.rtf.style.RtfFont

Inheritance: iTextSharp.text.Font, IRtfExtendedElement
Show file Open project: red-gate/iTextSharp-4.1.6 Class Usage Examples

Public Properties

Property Type Description
FONT_SIZE byte[]

Protected Properties

Property Type Description
document iTextSharp.text.rtf.document.RtfDocument

Public Methods

Method Description
CompareTo ( Object obj ) : int
Difference ( Font font ) : Font
Equals ( Object obj ) : bool
GetCharset ( ) : int
GetFontName ( ) : String
GetFontNumber ( ) : int
GetFontSize ( ) : int
GetFontStyle ( ) : int
GetHashCode ( ) : int
IsStandardFont ( ) : bool
RtfFont ( RtfDocument doc, Font font ) : System
RtfFont ( String fontName ) : System
RtfFont ( String fontName, float size ) : System
RtfFont ( String fontName, float size, int style ) : System
RtfFont ( String fontName, float size, int style, Color color ) : System
RtfFont ( String fontName, float size, int style, Color color, int charset ) : System
SetCharset ( int charset ) : void
SetColor ( int red, int green, int blue ) : void
SetFamily ( String family ) : void
SetFontName ( String fontName ) : void
SetInHeader ( bool inHeader ) : void
SetInTable ( bool inTable ) : void
SetRtfDocument ( RtfDocument doc ) : void
SetStyle ( String style ) : void
SetStyle ( int style ) : void
WriteBegin ( Stream result ) : void
WriteContent ( Stream outp ) : void
WriteDefinition ( Stream result ) : void
WriteEnd ( Stream result ) : void

Protected Methods

Method Description
IntToByteArray ( int i ) : byte[]
RtfFont ( RtfDocument doc, int fontNumber ) : System

Private Methods

Method Description
SetToDefaultFamily ( String familyname ) : void

Method Details

CompareTo() public method

public CompareTo ( Object obj ) : int
obj Object
return int

Difference() public method

public Difference ( Font font ) : Font
font iTextSharp.text.Font
return iTextSharp.text.Font

Equals() public method

public Equals ( Object obj ) : bool
obj Object
return bool

GetCharset() public method

public GetCharset ( ) : int
return int

GetFontName() public method

public GetFontName ( ) : String
return String

GetFontNumber() public method

public GetFontNumber ( ) : int
return int

GetFontSize() public method

public GetFontSize ( ) : int
return int

GetFontStyle() public method

public GetFontStyle ( ) : int
return int

GetHashCode() public method

public GetHashCode ( ) : int
return int

IntToByteArray() protected method

protected IntToByteArray ( int i ) : byte[]
i int
return byte[]

IsStandardFont() public method

public IsStandardFont ( ) : bool
return bool

RtfFont() public method

public RtfFont ( RtfDocument doc, Font font ) : System
doc iTextSharp.text.rtf.document.RtfDocument
font iTextSharp.text.Font
return System

RtfFont() protected method

protected RtfFont ( RtfDocument doc, int fontNumber ) : System
doc iTextSharp.text.rtf.document.RtfDocument
fontNumber int
return System

RtfFont() public method

public RtfFont ( String fontName ) : System
fontName String
return System

RtfFont() public method

public RtfFont ( String fontName, float size ) : System
fontName String
size float
return System

RtfFont() public method

public RtfFont ( String fontName, float size, int style ) : System
fontName String
size float
style int
return System

RtfFont() public method

public RtfFont ( String fontName, float size, int style, Color color ) : System
fontName String
size float
style int
color Color
return System

RtfFont() public method

public RtfFont ( String fontName, float size, int style, Color color, int charset ) : System
fontName String
size float
style int
color Color
charset int
return System

SetCharset() public method

public SetCharset ( int charset ) : void
charset int
return void

SetColor() public method

public SetColor ( int red, int green, int blue ) : void
red int
green int
blue int
return void

SetFamily() public method

public SetFamily ( String family ) : void
family String
return void

SetFontName() public method

public SetFontName ( String fontName ) : void
fontName String
return void

SetInHeader() public method

public SetInHeader ( bool inHeader ) : void
inHeader bool
return void

SetInTable() public method

public SetInTable ( bool inTable ) : void
inTable bool
return void

SetRtfDocument() public method

public SetRtfDocument ( RtfDocument doc ) : void
doc iTextSharp.text.rtf.document.RtfDocument
return void

SetStyle() public method

public SetStyle ( String style ) : void
style String
return void

SetStyle() public method

public SetStyle ( int style ) : void
style int
return void

WriteBegin() public method

public WriteBegin ( Stream result ) : void
result Stream
return void

WriteContent() public method

public WriteContent ( Stream outp ) : void
outp Stream
return void

WriteDefinition() public method

public WriteDefinition ( Stream result ) : void
result Stream
return void

WriteEnd() public method

public WriteEnd ( Stream result ) : void
result Stream
return void

Property Details

FONT_SIZE public static property

public static byte[] FONT_SIZE
return byte[]

document protected property

protected RtfDocument,iTextSharp.text.rtf.document document
return iTextSharp.text.rtf.document.RtfDocument