TAdvStringGridTPrintSettings

Contents - Properties


Description
Holds all printout settings

TPrintSettings - Properties

Contents - TPrintSettings

Borders
Sets drawing method of borders for printout

Delphi declaration
Borders:TPrintBorders=(pbNoborder,pbSingle,pbDouble,pbVertical,pbHorizontal,pbAround,pbAroundVertical,pbAroundHorizontal,pbCustom);
C++ declaration
__property TPrintBorders Borders={ nodefault }

Description
The Borders property can be : pbNoborder : no border is printed pbSingle : single line width border is printed pbDouble : double line width border is printed pbVertical : only vertical single line borders are printed pbHorizontal : only horizontal single line borders are printed pbAround : only border around the grid is printed pbAroundVertical : only outer vertical borders of the grid are printed pbAroundHorizontal : only outer horizontal borders of the grid are printed

BorderStyle
Delphi declaration
BorderStyle:TPenStyle;
C++ declaration
__property Graphics::TPenStyle BorderStyle={ nodefault }

Description
Line drawing style for border of type TPenStyle
Centered
Delphi declaration
Centered:boolean;
C++ declaration
__property bool Centered={ nodefault }

Description
When true, printout is centered on the page.
ColumnSpacing
Delphi declaration
ColumnSpacing:integer;
C++ declaration
__property int ColumnSpacing={ nodefault }

Description
Controls distance to skip between 2 columns in units of 1/10mm.
Date
Sets position on page of printout date.

Delphi declaration
Date:TPrintPosition=(ppNone,ppTopLeft,ppTopRight,ppTopCenter,ppBottomLeft,ppBottomRight,ppBottomCenter);
C++ declaration
__property TPrintPosition Date={ nodefault }

Description
The position has the type TPrintPosition with following values ppNone : no date is printed ppTopLeft : data is printed in top left corner ppTopRight : date is printed in top right corner ppTopCenter : date is printed centered on top ppBottomLeft : date is printed in bottom left corner ppBottomCenter : date is printed centered at bottom ppBottomRight : date is printed in bottom right corner

DateFormat
Delphi declaration
DateFormat:string;
C++ declaration
__property AnsiString DateFormat

Description
Holds the date formatting parameter. Default value is dd/mm/yyyy.
FitToPage
Controls various options to fit printing on a page.

Delphi declaration
FitToPage:TFitToPage=(fpNever,fpAlways,fpGrow,fpShrink,fpCustom);
C++ declaration
__property TFitToPage FitToPage={ nodefault }

Description
- fpNever : never use page fitting. - fpAlways : always fit to page, no matter what the scalefactor is - fpGrow : only fit to page by increasing font size / column widths - fpShrink : only fit to page by decreasing font size / column widths - fpCustom : call the OnFitToPage event, to query for allowing pagefit with calculated scalefactor.

FixedHeight
Delphi declaration
FixedHeight:integer;
C++ declaration
__property int FixedHeight={ nodefault }

Description
Height of rows for printout in 0.1mm. Overrules the auto calculated row height if UseFixedHeight is true
FixedWidth
Delphi declaration
FixedWidth:integer;
C++ declaration
__property int FixedWidth={ nodefault }

Description
Width of columns for printout in 0.1mm. Overrules the auto calculated column width if UseFixedWidth is true
Font
Delphi declaration
Font:TFont
C++ declaration
__property Graphics::TFont *Font

Description
Sets font of printout
FooterFont
Delphi declaration
FooterFont:TFont
C++ declaration
__property Graphics::TFont *FooterFont

Description
Sets font for the footer
FooterSize
Delphi declaration
FooterSize:integer;
C++ declaration
__property int FooterSize={ nodefault }

Description
Controls distance to skip at end of page in units of 1/10mm.
HeaderFont
Delphi declaration
HeaderFont:TFont
C++ declaration
__property Graphics::TFont *HeaderFont

Description
Sets font for the header
HeaderSize
Delphi declaration
HeaderSize:integer;
C++ declaration
__property int HeaderSize={ nodefault }

Description
Controls distance to skip at start of page in units of 1/10mm.
JobName
Delphi declaration
JobName:string;
C++ declaration
__property AnsiString JobName

Description
Sets title for print job in printer spooler
LeftSize
Delphi declaration
LeftSize:integer;
C++ declaration
__property int LeftSize={ nodefault }

Description
Controls distance to skip at left side of page in units of 1/10mm.
NoAutoSize
Delphi declaration
NoAutoSize:boolean;
C++ declaration
__property bool NoAutoSize={ nodefault }

Description
If true, disables the automatic column sizing to optimize paper use and retain full column text visibility but uses column sizes proportional to column sizes on display and prints using wordwrapping if wordwrap property is true
Orientation
Delphi declaration
Orientation:TPrinterOrientation=(poLandscape,poPortrait);
C++ declaration
__property Printers::TPrinterOrientation Orientation={ nodefault }

Description
Sets printer orientation to landscape or portrait (defined in the Printers unit)
PageNr
Sets position on page of page number

Delphi declaration
PageNr:TPrintPosition=(ppNone,ppTopLeft,ppTopRight,ppTopCenter,ppBottomLeft,ppBottomRight,ppBottomCenter);
C++ declaration
__property TPrintPosition PageNr={ nodefault }

Description
The position has the type TPrintPosition with following values ppNone : no page number is printed ppTopLeft : page number is printed in top left corner ppTopRight : page number is printed in top right corner ppTopCenter : page number is printed centered on top ppBottomLeft : page number is printed in bottom left corner ppBottomCenter : page number is printed centered at bottom ppBottomRight : page number is printed in bottom right corner

PageNumSep
Delphi declaration
PageNumSep:string
C++ declaration
__property AnsiString PageNumSep

Description
Sets the separator between actual printed page and total nr. of pages. If PageNumSep is a zero length string, total number of pages is not printed. Default value is '/'
PagePrefix
Delphi declaration
PagePrefix:string;
C++ declaration
__property AnsiString PagePrefix={ stored=true }

Description
Sets the prefix for page numbering for printout
PageSuffix
Delphi declaration
PageSuffix:string;
C++ declaration
__property AnsiString PageSuffix

Description
Sets the suffix for page numbering for printout
PrintGraphics
Delphi declaration
property PrintGraphics: boolean;
C++ declaration
__property bool PrintGraphics={ nodefault }

Description
When true, graphics are printed
RepeatFixedCols
Delphi declaration
RepeatFixedCols:boolean;
C++ declaration
__property bool RepeatFixedCols={ nodefault }

Description
When true, printout of fixed columns is repeated on each page.
RepeatFixedRows
Delphi declaration
RepeatFixedRows:boolean;
C++ declaration
__property bool RepeatFixedRows={ nodefault }

Description
When true, printout of fixed rows is repeated on each page.
RightSize
Delphi declaration
RightSize:integer;
C++ declaration
__property int RightSize={ nodefault }

Description
Controls distance to skip at right side of page in units of 1/10mm.
RowSpacing
Delphi declaration
RowSpacing:integer;
C++ declaration
__property int RowSpacing={ nodefault }

Description
Controls distance to skip between 2 columns in units of 1/10mm.
Time
Sets position on page of printout time.

Delphi declaration
Time:TPrintPosition=(ppNone,ppTopLeft,ppTopRight,ppTopCenter,ppBottomLeft,ppBottomRight,ppBottomCenter);
C++ declaration
__property TPrintPosition Time={ nodefault }

Description
The position has the type TPrintPosition with following values

ppNone : no title is printed

ppTopLeft : title is printed in top left corner

ppTopRight : title is printed in top right corner

ppTopCenter : title is printed centered on top

ppBottomLeft : title is printed in bottom left corner

ppBottomCenter : title is printed centered at bottom

ppBottomRight : title is printed in bottom right corner

Title
Sets position of title of printout

Delphi declaration
Title:TPrintPosition=(ppNone,ppTopLeft,ppTopRight,ppTopCenter,ppBottomLeft,ppBottomRight,ppBottomCenter);
C++ declaration
__property TPrintPosition Title={ nodefault }

Description
The position has the type TPrintPosition with following values ppNone : no title is printed ppTopLeft : title is printed in top left corner ppTopRight : title is printed in top right corner ppTopCenter : title is printed centered on top ppBottomLeft : title is printed in bottom left corner ppBottomCenter : title is printed centered at bottom ppBottomRight : title is printed in bottom right corner

TitleLines
Sets title of printout.

Delphi declaration
TitleLines:TStringList
C++ declaration
__property Classes::TStringList *TitleLines

Description
TitleLines is a stringlist that can be used instead of TitleText to hold a multiple title lines

TitleSpacing
Delphi declaration
TitleSpacing:integer;
C++ declaration
__property int TitleSpacing={ nodefault }

Description
Controls the space between the grid title and the actual grid data in 0.1mm units
TitleText
Sets title of printout.

Delphi declaration
TitleText:string;
C++ declaration
__property AnsiString TitleText

Description
TitleText holds a single line title only. When using multiline titles, use the TitleLines property

UseFixedHeight
Delphi declaration
UseFixedHeight:boolean;
C++ declaration
__property bool UseFixedHeight={ nodefault }

Description
If enabled, uses value FixedHeight, else auto calculation is done
UseFixedWidth
Delphi declaration
UseFixedWidth:boolean;
C++ declaration
__property bool UseFixedWidth={ nodefault }

Description
If enabled, uses value FixedWidth, else auto calculation is done