C# Класс CSReportPaint.cGlobals

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
getPixelsFromCmX ( float cm ) : float
getPixelsFromCmY ( float cm ) : float

Описание методов

addFontIfRequired() публичный статический Метод

public static addFontIfRequired ( cReportFont font, Font &m_fnt ) : int
font CSReportDll.cReportFont
m_fnt System.Drawing.Font
Результат int

getBitmapSize() публичный статический Метод

public static getBitmapSize ( Image image, int &imgWidth, int &imgHeight, bool inTwips ) : void
image Image
imgWidth int
imgHeight int
inTwips bool
Результат void

getKey() публичный статический Метод

public static getKey ( String value ) : String
value String
Результат String

getNextKey() публичный статический Метод

public static getNextKey ( ) : int
Результат int

getRectFromPaperSize() публичный статический Метод

public static getRectFromPaperSize ( cReportPaperInfo info, csReportPaperType paperSize, int orientation ) : RectangleF
info CSReportDll.cReportPaperInfo
paperSize csReportPaperType
orientation int
Результат System.Drawing.RectangleF

newRectangle() публичный статический Метод

public static newRectangle ( int left, int top, int right, int bottom ) : Rectangle
left int
top int
right int
bottom int
Результат Rectangle

newRectangleF() публичный статический Метод

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
Результат System.Drawing.RectangleF

redim() публичный статический Метод

public static redim ( Font &vFonts, int size ) : void
vFonts System.Drawing.Font
size int
Результат void

redimPreserve() публичный статический Метод

public static redimPreserve ( Font &vFonts, int size ) : void
vFonts System.Drawing.Font
size int
Результат void

setRectangleHeight() публичный статический Метод

public static setRectangleHeight ( System.Single height ) : System.Single
height System.Single
Результат System.Single

setRectangleWidth() публичный статический Метод

public static setRectangleWidth ( System.Single width ) : System.Single
width System.Single
Результат System.Single