OpenPetra
Free Administration Software for Non-Profits
Ict.Common.Printing.TGfxPrinter Class Reference

The TGfxPrinter class is the base class for TPdfPrinter More...

Inheritance diagram for Ict.Common.Printing.TGfxPrinter:
Ict.Common.Printing.TPrinter Ict.Common.Printing.TPdfPrinter

Public Types

enum  ePrinterBehaviour { eReport , eFormLetter }
 we have some different behaviour when printing the columns of a report and when printing a form letter More...
 

Public Member Functions

 TGfxPrinter (ePrinterBehaviour APrinterBehaviour)
 sets the orientation of the page More...
 
override void Init (eOrientation AOrientation, TPrinterLayout APrinterLayout, eMarginType AMarginType)
 todoComment More...
 
override Boolean PrintString (String ATxt, eFont AFont, eAlignment AAlign)
 prints into the current line, aligned x position More...
 
override Boolean PrintString (String ATxt, eFont AFont, float AXPos)
 prints into the current line, absolute x position More...
 
override Boolean PrintString (String ATxt, eFont AFont, float AXPos, float AWidth, eAlignment AAlign)
 prints into the current line, absolute x position with width and alignment More...
 
override bool PrintStringWrap (String ATxt, eFont AFont, float AXPos, float AWidth, eAlignment AAlign)
 prints into the current line, absolute x position with width and alignment this method uses FCurrentXPos and FCurrentYPos to be able to continue a paragraph uses FCurrentXPos and FCurrentYPos to know where to start to print, and also sets valid values in those member variables More...
 
override Boolean PrintStringAndFits (String ATxt, eFont AFont, float AXPos, float AWidth, eAlignment AAlign)
 This function uses the normal DrawString function to print into a given space. It will return whether the text did fit that space or not. More...
 
override float GetWidthString (String ATxt, eFont AFont)
 prints into the current line, into the given column More...
 
override Boolean DrawLine (float AXPos1, float AXPos2, eLinePosition ALinePosition, eFont AFont)
 Draws a line, either above or below the current text line the font is required to get the height of the row More...
 
override void DrawLine (Int32 APenPixels, float AXPos1, float AYPos1, float AXPos2, float AYPos2)
 Draws a line, at specified position More...
 
override void DrawRectangle (Int32 APenPixels, float AXPos, float AYPos, float AWidth, float AHeight)
 draw a rectangle More...
 
override void DrawBitmap (string APath, float AXPos, float AYPos)
 draw a bitmap at the given position; the current position is moved More...
 
override void DrawBitmap (string APath, float AXPos, float AYPos, float AWidth, float AHeight, float AWidthPercentage, float AHeightPercentage)
 draw a bitmap at the given position; the current position is moved More...
 
override float LineFeed (eFont AFont)
 Line Feed; increases the current y position by the height of the given font More...
 
override float LineFeed ()
 Line Feed; increases the current y position by the height of the biggest last used font More...
 
override float LineSpaceFeed (eFont AFont)
 Line Feed, but not full line; increases the current y position by half the height of the given font More...
 
override float LineUnFeed (eFont AFont)
 Reverse Line Feed; decreases the current y position by the height of the given font More...
 
override void SetPageFooterSpace (System.Int32 ANumberOfLines, eFont AFont)
 Set the space that is required by the page footer. ValidYPos will consider this value. More...
 
override float LineFeedToPageFooter ()
 Jump to the position where the page footer starts. SetPageFooterSpace is used to define the space reserved for the footer. More...
 
override Boolean ValidXPos (float APosition)
 Is the given position still on the page? More...
 
override Boolean ValidYPos ()
 Is the current line still on the page? More...
 
override void SetHasMorePages (bool AHasMorePages)
 Tell the printer, that there are more pages coming More...
 
override bool HasMorePages ()
 more pages are coming More...
 
override float Cm (float AValueInCm)
 Converts the given value in cm to the currently used measurement unit More...
 
override float PixelHorizontal (float AWidth)
 convert pixels to inches or other unit used for output More...
 
override float PixelVertical (float AHeight)
 convert pixels to inches or other unit used for output More...
 
virtual void SaveState ()
 save the state before a rotation etc More...
 
virtual void RestoreState ()
 restore the state after a rotation etc More...
 
virtual void RotateAtTransform (double ADegrees, double XPos, double YPos)
 rotate the following output by some degrees, at the given position More...
 
float LineFeed (float height)
 Line Feed; increases the current y position by the given height More...
 
void StartSimulatePrinting ()
 start the simulation of printing; nothing is actually printed, but the CurrentYPos is increased More...
 
void FinishSimulatePrinting ()
 finish the simulation of printing; the actual CurrentYPos is restored More...
 
void PushCurrentState ()
 store the current printer state (font size etc) More...
 
void PopCurrentState ()
 return to previous printer state; this is used for printing table cells More...
 
void PopCurrentStateApartFromYPosition ()
 return to previous printer state; but keep the new y position (used eg. for printing the page header) More...
 
float Inch (float AValueInInch)
 Converts the given value in inch to the currently used measurement unit; uses Inch2Cm and Cm More...
 
virtual void InsertDocument (string AFilename)
 insert another document into the current document. At the moment only used for PDF More...
 
virtual float PrintTable (float AXPos, float AWidthAvailable, List< TTableRowGfx >rows, out Int32 ARowsFittingOnPage)
 renders a table at the current FCurrentYPos does not support rowspan at the moment colspan might be implemented in the generation of the TTableRowGfx structure does not care about fitting on page etc. More...
 

Static Public Member Functions

static float Cm2Inch (float AValueInCm)
 Converts the given value in cm to the equivalent value in inches More...
 
static float Inch2Cm (float AValueInInch)
 Converts the given value in inches to the equivalent value in centimeters More...
 

Public Attributes

ePrinterBehaviour FPrinterBehaviour = ePrinterBehaviour.eReport
 we have some different behaviour when printing the columns of a report (can make text fit) and when printing a form letter More...
 
float FPageXPos
 printing should be started at this position for each line More...
 
float FPageWidthAvailable
 space available for printing More...
 

Static Public Attributes

const Int32 DEFAULTPRINTERRESOLUTION = 300
 default printer resolution More...
 

Protected Member Functions

virtual bool UpdateBiggestLastUsedFont (eFont AFont)
 update the biggest last used font for the next line feed More...
 
String GetFittedText (String ATxt, eFont AFont, float AWidth)
 Check if the text will fit into the given width. If yes, the text will be returned. If no, the text will be shortened and a "..." will be added to indicate that some text is missing. More...
 
String CutTextToLength (String ATxt, eFont AFont, float AWidth)
 Cuts a given text so it will not extend the given width. More...
 
Int32 GetTextLengthThatWillFit (String ATxt, eFont AFont, float AWidth)
 word wrap text, return the number of characters that fit the line width; if the first word does not fit the space available, wrap the word in itself More...
 

Protected Attributes

float FLinesPerPage
 these values are set by PrintPage More...
 
eOrientation FOrientation
 todoComment More...
 
eMarginType FMarginType
 use printable area or default margins More...
 
Int32 FNumberOfPages
 todoComment More...
 
float FPageFooterSpace
 how much space is needed for the footer lines; footerspace = font.height number of lines More...
 
float FLeftMargin
 todoComment More...
 
float FTopMargin
 todoComment More...
 
float FRightMargin
 todoComment More...
 
float FBottomMargin
 todoComment More...
 
float FWidth
 todoComment More...
 
float FHeight
 todoComment More...
 
TPrinterLayout FPrinterLayout
 todoComment More...
 
TPrinterState FCurrentState = new TPrinterState()
 current state of printer More...
 
PrintAction FprintAction
 I can check whether I'm printing to a preview or a real printer. More...
 

Properties

System.Int32 CurrentPageNr [get, set]
 todoComment More...
 
System.Int32 CurrentDocumentNr [get, set]
 a document can consist of several pages; a document is one body element More...
 
System.Int32 NumberOfPages [get, set]
 this only has a valid value after the first rendering of the report More...
 
float CurrentYPos [get, set]
 todoComment More...
 
float CurrentXPos [get, set]
 todoComment More...
 
float AnchorXPos [get, set]
 other elements can be positioned relative to this position More...
 
float AnchorYPos [get, set]
 other elements can be positioned relative to this position More...
 
float LeftMargin [get]
 todoComment More...
 
float RightMargin [get]
 todoComment More...
 
eFont CurrentFont [get, set]
 todoComment More...
 
float CurrentLineHeight [get, set]
 1 is the normal height of the font, CurrentLineHeight is multiplied with the height of the font More...
 
float CurrentRelativeFontSize [get, set]
 the relative font size; 0 is default size More...
 
eAlignment CurrentAlignment [get, set]
 todoComment More...
 
ePrintingMode PrintingMode [get, set]
 this is about simulation or printing More...
 
float Width [get]
 todoComment More...
 
float PageFooterSpace [get]
 todoComment More...
 

Detailed Description

The TGfxPrinter class is the base class for TPdfPrinter

Member Enumeration Documentation

◆ ePrinterBehaviour

we have some different behaviour when printing the columns of a report and when printing a form letter

Enumerator
eReport 

printing the columns of a report, we can make text fit

eFormLetter 

printing a form letter, we need to print everything, comma is not a whitespace

Constructor & Destructor Documentation

◆ TGfxPrinter()

Ict.Common.Printing.TGfxPrinter.TGfxPrinter ( ePrinterBehaviour  APrinterBehaviour)
inline

sets the orientation of the page

Returns
void

Member Function Documentation

◆ Cm()

override float Ict.Common.Printing.TGfxPrinter.Cm ( float  AValueInCm)
inlinevirtual

Converts the given value in cm to the currently used measurement unit

Returns
void

Implements Ict.Common.Printing.TPrinter.

◆ Cm2Inch()

static float Ict.Common.Printing.TPrinter.Cm2Inch ( float  AValueInCm)
inlinestaticinherited

Converts the given value in cm to the equivalent value in inches

Returns
void

◆ CutTextToLength()

String Ict.Common.Printing.TGfxPrinter.CutTextToLength ( String  ATxt,
eFont  AFont,
float  AWidth 
)
inlineprotected

Cuts a given text so it will not extend the given width.

Parameters
ATxtThe text to cut
AFontThe font used
AWidthThe available length for the text in cm.
Returns
The maximum part of the text that will not extend the width.

◆ DrawBitmap() [1/2]

override void Ict.Common.Printing.TGfxPrinter.DrawBitmap ( string  APath,
float  AXPos,
float  AYPos 
)
inlinevirtual

draw a bitmap at the given position; the current position is moved

Parameters
APath
AXPos
AYPos

Reimplemented from Ict.Common.Printing.TPrinter.

Reimplemented in Ict.Common.Printing.TPdfPrinter.

◆ DrawBitmap() [2/2]

override void Ict.Common.Printing.TGfxPrinter.DrawBitmap ( string  APath,
float  AXPos,
float  AYPos,
float  AWidth,
float  AHeight,
float  AWidthPercentage,
float  AHeightPercentage 
)
inlinevirtual

draw a bitmap at the given position; the current position is moved

Either Width or WidthPercentage should be unequals 0, but only one should have a value. Same applies to Height

Reimplemented from Ict.Common.Printing.TPrinter.

Reimplemented in Ict.Common.Printing.TPdfPrinter.

◆ DrawLine() [1/2]

override Boolean Ict.Common.Printing.TGfxPrinter.DrawLine ( float  AXPos1,
float  AXPos2,
eLinePosition  ALinePosition,
eFont  AFont 
)
inlinevirtual

Draws a line, either above or below the current text line the font is required to get the height of the row

Parameters
AXPos1
AXPos2
ALinePosition
AFont
Returns

Implements Ict.Common.Printing.TPrinter.

Reimplemented in Ict.Common.Printing.TPdfPrinter.

◆ DrawLine() [2/2]

override void Ict.Common.Printing.TGfxPrinter.DrawLine ( Int32  APenPixels,
float  AXPos1,
float  AYPos1,
float  AXPos2,
float  AYPos2 
)
inlinevirtual

Draws a line, at specified position

Reimplemented from Ict.Common.Printing.TPrinter.

Reimplemented in Ict.Common.Printing.TPdfPrinter.

◆ DrawRectangle()

override void Ict.Common.Printing.TGfxPrinter.DrawRectangle ( Int32  APenPixels,
float  AXPos,
float  AYPos,
float  AWidth,
float  AHeight 
)
inlinevirtual

draw a rectangle

Parameters
APenPixels
AXPos
AYPos
AWidth
AHeight

Reimplemented from Ict.Common.Printing.TPrinter.

Reimplemented in Ict.Common.Printing.TPdfPrinter.

◆ FinishSimulatePrinting()

void Ict.Common.Printing.TPrinter.FinishSimulatePrinting ( )
inlineinherited

finish the simulation of printing; the actual CurrentYPos is restored

Returns
void

◆ GetFittedText()

String Ict.Common.Printing.TGfxPrinter.GetFittedText ( String  ATxt,
eFont  AFont,
float  AWidth 
)
inlineprotected

Check if the text will fit into the given width. If yes, the text will be returned. If no, the text will be shortened and a "..." will be added to indicate that some text is missing.

Parameters
ATxtthe original text
AFontthe font
AWidththe space available for the text in cm
Returns
The input text. Either unmodified or shortened.

◆ GetTextLengthThatWillFit()

Int32 Ict.Common.Printing.TGfxPrinter.GetTextLengthThatWillFit ( String  ATxt,
eFont  AFont,
float  AWidth 
)
inlineprotected

word wrap text, return the number of characters that fit the line width; if the first word does not fit the space available, wrap the word in itself

Parameters
ATxt
AFont
AWidth
Returns
returns the length of the first word; this is needed if even the first word does not fit

◆ GetWidthString()

override float Ict.Common.Printing.TGfxPrinter.GetWidthString ( String  ATxt,
eFont  AFont 
)
inlinevirtual

prints into the current line, into the given column

Parameters
ATxt
AFont
Returns
Return the width of the string, if it was printed in one line, using the given Font

Implements Ict.Common.Printing.TPrinter.

Reimplemented in Ict.Common.Printing.TPdfPrinter.

◆ HasMorePages()

override bool Ict.Common.Printing.TGfxPrinter.HasMorePages ( )
inlinevirtual

more pages are coming

Returns

Implements Ict.Common.Printing.TPrinter.

◆ Inch()

float Ict.Common.Printing.TPrinter.Inch ( float  AValueInInch)
inlineinherited

Converts the given value in inch to the currently used measurement unit; uses Inch2Cm and Cm

Returns
void

◆ Inch2Cm()

static float Ict.Common.Printing.TPrinter.Inch2Cm ( float  AValueInInch)
inlinestaticinherited

Converts the given value in inches to the equivalent value in centimeters

Returns
void

◆ Init()

override void Ict.Common.Printing.TGfxPrinter.Init ( eOrientation  AOrientation,
TPrinterLayout  APrinterLayout,
eMarginType  AMarginType 
)
inlinevirtual

todoComment

Reimplemented from Ict.Common.Printing.TPrinter.

◆ InsertDocument()

virtual void Ict.Common.Printing.TPrinter.InsertDocument ( string  AFilename)
inlinevirtualinherited

insert another document into the current document. At the moment only used for PDF

Parameters
AFilename

Reimplemented in Ict.Common.Printing.TPdfPrinter.

◆ LineFeed() [1/3]

override float Ict.Common.Printing.TGfxPrinter.LineFeed ( )
inlinevirtual

Line Feed; increases the current y position by the height of the biggest last used font

Returns
the new current line

Reimplemented from Ict.Common.Printing.TPrinter.

Reimplemented in Ict.Common.Printing.TPdfPrinter.

◆ LineFeed() [2/3]

override float Ict.Common.Printing.TGfxPrinter.LineFeed ( eFont  AFont)
inlinevirtual

Line Feed; increases the current y position by the height of the given font

Returns
the new current line

Implements Ict.Common.Printing.TPrinter.

Reimplemented in Ict.Common.Printing.TPdfPrinter.

◆ LineFeed() [3/3]

float Ict.Common.Printing.TPrinter.LineFeed ( float  height)
inlineinherited

Line Feed; increases the current y position by the given height

Returns
the new current line

◆ LineFeedToPageFooter()

override float Ict.Common.Printing.TGfxPrinter.LineFeedToPageFooter ( )
inlinevirtual

Jump to the position where the page footer starts. SetPageFooterSpace is used to define the space reserved for the footer.

Returns
void

Implements Ict.Common.Printing.TPrinter.

Reimplemented in Ict.Common.Printing.TPdfPrinter.

◆ LineSpaceFeed()

override float Ict.Common.Printing.TGfxPrinter.LineSpaceFeed ( eFont  AFont)
inlinevirtual

Line Feed, but not full line; increases the current y position by half the height of the given font

Returns
the new current line

Implements Ict.Common.Printing.TPrinter.

Reimplemented in Ict.Common.Printing.TPdfPrinter.

◆ LineUnFeed()

override float Ict.Common.Printing.TGfxPrinter.LineUnFeed ( eFont  AFont)
inlinevirtual

Reverse Line Feed; decreases the current y position by the height of the given font

Returns
the new current line

Implements Ict.Common.Printing.TPrinter.

Reimplemented in Ict.Common.Printing.TPdfPrinter.

◆ PixelHorizontal()

override float Ict.Common.Printing.TGfxPrinter.PixelHorizontal ( float  AWidth)
inlinevirtual

convert pixels to inches or other unit used for output

Parameters
AWidth
Returns

Implements Ict.Common.Printing.TPrinter.

◆ PixelVertical()

override float Ict.Common.Printing.TGfxPrinter.PixelVertical ( float  AHeight)
inlinevirtual

convert pixels to inches or other unit used for output

Implements Ict.Common.Printing.TPrinter.

◆ PopCurrentState()

void Ict.Common.Printing.TPrinter.PopCurrentState ( )
inlineinherited

return to previous printer state; this is used for printing table cells

◆ PopCurrentStateApartFromYPosition()

void Ict.Common.Printing.TPrinter.PopCurrentStateApartFromYPosition ( )
inlineinherited

return to previous printer state; but keep the new y position (used eg. for printing the page header)

◆ PrintString() [1/3]

override Boolean Ict.Common.Printing.TGfxPrinter.PrintString ( String  ATxt,
eFont  AFont,
eAlignment  AAlign 
)
inlinevirtual

prints into the current line, aligned x position

Implements Ict.Common.Printing.TPrinter.

Reimplemented in Ict.Common.Printing.TPdfPrinter.

◆ PrintString() [2/3]

override Boolean Ict.Common.Printing.TGfxPrinter.PrintString ( String  ATxt,
eFont  AFont,
float  AXPos 
)
inlinevirtual

prints into the current line, absolute x position

Implements Ict.Common.Printing.TPrinter.

Reimplemented in Ict.Common.Printing.TPdfPrinter.

◆ PrintString() [3/3]

override Boolean Ict.Common.Printing.TGfxPrinter.PrintString ( String  ATxt,
eFont  AFont,
float  AXPos,
float  AWidth,
eAlignment  AAlign 
)
inlinevirtual

prints into the current line, absolute x position with width and alignment

Returns
true if something was printed

Implements Ict.Common.Printing.TPrinter.

Reimplemented in Ict.Common.Printing.TPdfPrinter.

◆ PrintStringAndFits()

override Boolean Ict.Common.Printing.TGfxPrinter.PrintStringAndFits ( String  ATxt,
eFont  AFont,
float  AXPos,
float  AWidth,
eAlignment  AAlign 
)
inlinevirtual

This function uses the normal DrawString function to print into a given space. It will return whether the text did fit that space or not.

Parameters
ATxt
AFont
AXPos
AWidth
AAlign
Returns

Implements Ict.Common.Printing.TPrinter.

◆ PrintStringWrap()

override bool Ict.Common.Printing.TGfxPrinter.PrintStringWrap ( String  ATxt,
eFont  AFont,
float  AXPos,
float  AWidth,
eAlignment  AAlign 
)
inlinevirtual

prints into the current line, absolute x position with width and alignment this method uses FCurrentXPos and FCurrentYPos to be able to continue a paragraph uses FCurrentXPos and FCurrentYPos to know where to start to print, and also sets valid values in those member variables

Returns
true if any text was printed

Reimplemented from Ict.Common.Printing.TPrinter.

◆ PrintTable()

virtual float Ict.Common.Printing.TPrinter.PrintTable ( float  AXPos,
float  AWidthAvailable,
List< TTableRowGfx rows,
out Int32  ARowsFittingOnPage 
)
inlinevirtualinherited

renders a table at the current FCurrentYPos does not support rowspan at the moment colspan might be implemented in the generation of the TTableRowGfx structure does not care about fitting on page etc.

Parameters
AXPosthe X position to start the table
AWidthAvailableAWidthAvailable
rows
ARowsFittingOnPagenumber of rows that fitted on the page
Returns
height of table

◆ PushCurrentState()

void Ict.Common.Printing.TPrinter.PushCurrentState ( )
inlineinherited

store the current printer state (font size etc)

◆ RestoreState()

virtual void Ict.Common.Printing.TPrinter.RestoreState ( )
inlinevirtualinherited

restore the state after a rotation etc

Reimplemented in Ict.Common.Printing.TPdfPrinter.

◆ RotateAtTransform()

virtual void Ict.Common.Printing.TPrinter.RotateAtTransform ( double  ADegrees,
double  XPos,
double  YPos 
)
inlinevirtualinherited

rotate the following output by some degrees, at the given position

Reimplemented in Ict.Common.Printing.TPdfPrinter.

◆ SaveState()

virtual void Ict.Common.Printing.TPrinter.SaveState ( )
inlinevirtualinherited

save the state before a rotation etc

Reimplemented in Ict.Common.Printing.TPdfPrinter.

◆ SetHasMorePages()

override void Ict.Common.Printing.TGfxPrinter.SetHasMorePages ( bool  AHasMorePages)
inlinevirtual

Tell the printer, that there are more pages coming

Returns
void

Implements Ict.Common.Printing.TPrinter.

◆ SetPageFooterSpace()

override void Ict.Common.Printing.TGfxPrinter.SetPageFooterSpace ( System.Int32  ANumberOfLines,
eFont  AFont 
)
inlinevirtual

Set the space that is required by the page footer. ValidYPos will consider this value.

Returns
void

Implements Ict.Common.Printing.TPrinter.

Reimplemented in Ict.Common.Printing.TPdfPrinter.

◆ StartSimulatePrinting()

void Ict.Common.Printing.TPrinter.StartSimulatePrinting ( )
inlineinherited

start the simulation of printing; nothing is actually printed, but the CurrentYPos is increased

Returns
void

◆ UpdateBiggestLastUsedFont()

virtual bool Ict.Common.Printing.TGfxPrinter.UpdateBiggestLastUsedFont ( eFont  AFont)
inlineprotectedvirtual

update the biggest last used font for the next line feed

Parameters
AFont

Reimplemented in Ict.Common.Printing.TPdfPrinter.

◆ ValidXPos()

override Boolean Ict.Common.Printing.TGfxPrinter.ValidXPos ( float  APosition)
inlinevirtual

Is the given position still on the page?

Returns
void

Implements Ict.Common.Printing.TPrinter.

◆ ValidYPos()

override Boolean Ict.Common.Printing.TGfxPrinter.ValidYPos ( )
inlinevirtual

Is the current line still on the page?

Returns
void

Implements Ict.Common.Printing.TPrinter.

Member Data Documentation

◆ DEFAULTPRINTERRESOLUTION

const Int32 Ict.Common.Printing.TGfxPrinter.DEFAULTPRINTERRESOLUTION = 300
static

default printer resolution

◆ FBottomMargin

float Ict.Common.Printing.TPrinter.FBottomMargin
protectedinherited

todoComment

◆ FCurrentState

TPrinterState Ict.Common.Printing.TPrinter.FCurrentState = new TPrinterState()
protectedinherited

current state of printer

◆ FHeight

float Ict.Common.Printing.TPrinter.FHeight
protectedinherited

todoComment

◆ FLeftMargin

float Ict.Common.Printing.TPrinter.FLeftMargin
protectedinherited

todoComment

◆ FLinesPerPage

float Ict.Common.Printing.TGfxPrinter.FLinesPerPage
protected

these values are set by PrintPage

◆ FMarginType

eMarginType Ict.Common.Printing.TPrinter.FMarginType
protectedinherited

use printable area or default margins

◆ FNumberOfPages

Int32 Ict.Common.Printing.TPrinter.FNumberOfPages
protectedinherited

todoComment

◆ FOrientation

eOrientation Ict.Common.Printing.TPrinter.FOrientation
protectedinherited

todoComment

◆ FPageFooterSpace

float Ict.Common.Printing.TPrinter.FPageFooterSpace
protectedinherited

how much space is needed for the footer lines; footerspace = font.height number of lines

◆ FPageWidthAvailable

float Ict.Common.Printing.TGfxPrinter.FPageWidthAvailable

space available for printing

◆ FPageXPos

float Ict.Common.Printing.TGfxPrinter.FPageXPos

printing should be started at this position for each line

◆ FprintAction

PrintAction Ict.Common.Printing.TPrinter.FprintAction
protectedinherited

I can check whether I'm printing to a preview or a real printer.

◆ FPrinterBehaviour

ePrinterBehaviour Ict.Common.Printing.TGfxPrinter.FPrinterBehaviour = ePrinterBehaviour.eReport

we have some different behaviour when printing the columns of a report (can make text fit) and when printing a form letter

◆ FPrinterLayout

TPrinterLayout Ict.Common.Printing.TPrinter.FPrinterLayout
protectedinherited

todoComment

◆ FRightMargin

float Ict.Common.Printing.TPrinter.FRightMargin
protectedinherited

todoComment

◆ FTopMargin

float Ict.Common.Printing.TPrinter.FTopMargin
protectedinherited

todoComment

◆ FWidth

float Ict.Common.Printing.TPrinter.FWidth
protectedinherited

todoComment

Property Documentation

◆ AnchorXPos

float Ict.Common.Printing.TPrinter.AnchorXPos
getsetinherited

other elements can be positioned relative to this position

◆ AnchorYPos

float Ict.Common.Printing.TPrinter.AnchorYPos
getsetinherited

other elements can be positioned relative to this position

◆ CurrentAlignment

eAlignment Ict.Common.Printing.TPrinter.CurrentAlignment
getsetinherited

todoComment

◆ CurrentDocumentNr

System.Int32 Ict.Common.Printing.TPrinter.CurrentDocumentNr
getsetinherited

a document can consist of several pages; a document is one body element

◆ CurrentFont

eFont Ict.Common.Printing.TPrinter.CurrentFont
getsetinherited

todoComment

◆ CurrentLineHeight

float Ict.Common.Printing.TPrinter.CurrentLineHeight
getsetinherited

1 is the normal height of the font, CurrentLineHeight is multiplied with the height of the font

◆ CurrentPageNr

System.Int32 Ict.Common.Printing.TPrinter.CurrentPageNr
getsetinherited

todoComment

◆ CurrentRelativeFontSize

float Ict.Common.Printing.TPrinter.CurrentRelativeFontSize
getsetinherited

the relative font size; 0 is default size

◆ CurrentXPos

float Ict.Common.Printing.TPrinter.CurrentXPos
getsetinherited

todoComment

◆ CurrentYPos

float Ict.Common.Printing.TPrinter.CurrentYPos
getsetinherited

todoComment

◆ LeftMargin

float Ict.Common.Printing.TPrinter.LeftMargin
getinherited

todoComment

◆ NumberOfPages

System.Int32 Ict.Common.Printing.TPrinter.NumberOfPages
getsetinherited

this only has a valid value after the first rendering of the report

◆ PageFooterSpace

float Ict.Common.Printing.TPrinter.PageFooterSpace
getinherited

todoComment

◆ PrintingMode

ePrintingMode Ict.Common.Printing.TPrinter.PrintingMode
getsetinherited

this is about simulation or printing

◆ RightMargin

float Ict.Common.Printing.TPrinter.RightMargin
getinherited

todoComment

◆ Width

float Ict.Common.Printing.TPrinter.Width
getinherited

todoComment


The documentation for this class was generated from the following file: