C# Class CSReportPaint.cGlobals

Show file Open project: javiercrowsoft/CSReports.net

Public Methods

Method Description
addFontIfRequired ( cReportFont font, Font &m_fnt ) : int
getBitmapSize ( Image image, int &imgWidth, int &imgHeight, bool inTwips ) : void
getKey ( String value ) : String
getNextKey ( ) : int
getRectFromPaperSize ( cReportPaperInfo info, csReportPaperType paperSize, int orientation ) : RectangleF
newRectangle ( int left, int top, int right, int bottom ) : Rectangle
newRectangleF ( System.Single left, System.Single top, System.Single right, System.Single bottom ) : RectangleF
redim ( Font &vFonts, int size ) : void
redimPreserve ( Font &vFonts, int size ) : void
setRectangleHeight ( System.Single height ) : System.Single
setRectangleWidth ( System.Single width ) : System.Single

Private Methods

Method Description
getPixelsFromCmX ( float cm ) : float
getPixelsFromCmY ( float cm ) : float

Method Details

addFontIfRequired() public static method

public static addFontIfRequired ( cReportFont font, Font &m_fnt ) : int
font CSReportDll.cReportFont
m_fnt System.Drawing.Font
return int

getBitmapSize() public static method

public static getBitmapSize ( Image image, int &imgWidth, int &imgHeight, bool inTwips ) : void
image Image
imgWidth int
imgHeight int
inTwips bool
return void

getKey() public static method

public static getKey ( String value ) : String
value String
return String

getNextKey() public static method

public static getNextKey ( ) : int
return int

getRectFromPaperSize() public static method

public static getRectFromPaperSize ( cReportPaperInfo info, csReportPaperType paperSize, int orientation ) : RectangleF
info CSReportDll.cReportPaperInfo
paperSize csReportPaperType
orientation int
return System.Drawing.RectangleF

newRectangle() public static method

public static newRectangle ( int left, int top, int right, int bottom ) : Rectangle
left int
top int
right int
bottom int
return Rectangle

newRectangleF() public static method

public static newRectangleF ( System.Single left, System.Single top, System.Single right, System.Single bottom ) : RectangleF
left System.Single
top System.Single
right System.Single
bottom System.Single
return System.Drawing.RectangleF

redim() public static method

public static redim ( Font &vFonts, int size ) : void
vFonts System.Drawing.Font
size int
return void

redimPreserve() public static method

public static redimPreserve ( Font &vFonts, int size ) : void
vFonts System.Drawing.Font
size int
return void

setRectangleHeight() public static method

public static setRectangleHeight ( System.Single height ) : System.Single
height System.Single
return System.Single

setRectangleWidth() public static method

public static setRectangleWidth ( System.Single width ) : System.Single
width System.Single
return System.Single