User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_printmanagerabstract

TGIS_PrintManagerAbstract class

DK11 for .NET | TatukGIS.NDK.TGIS_PrintManagerAbstract | Classes | Constructors | Fields | Methods | Properties

Basic print manager class to be used as a base class for print managers.

Available also on: Delphi | Java | ActiveX.

Syntax

// C#
public class TGIS_PrintManagerAbstract : TGIS_UncountedInterfacedObject
{
}
' VisualBasic
Public Class TGIS_PrintManagerAbstract
  Inherits TGIS_UncountedInterfacedObject
End Class
// Oxygene
type
  TGIS_PrintManagerAbstract = public class( TGIS_UncountedInterfacedObject )
  end;

Inheritance

Constructors

Inherited Overrides Protected
Name Visibility Description
TGIS_PrintManagerAbstract() public Create an instance.

Fields

Inherited Protected
Name Visibility Description
FFooter protected Text of footer that will appear on a printed page.
FFooterFont protected Font for the header that will appear on a printed page.
FModeForceBitmap protected Force a bitmap printing.
FOverlappedExtentMargin protected Margin (in pixels) to scan around a printed tile.
FPrinterModeDraft protected Force a draft printing at 100PPI
FSubtitle protected Text of subtitle that will appear on a printed page.
FSubtitleFont protected Font of subtitle that will appear on a printed page.
FTemplate protected Print template object.
FTileSize protected Size of tile (in pixels) used when printing semitransparent layers.
FTitle protected Text of title that will appear on a printed page.
FTitleFont protected Font of title that will appear on a printed page.
metPrintDisableGlow protected If true then controls' Glow property is set to False upon printing.
metPrintOverlappedExtentMargin protected Width (in pixels) of the margin which be searched around every printed tile.

Methods

Inherited Overrides Protected
Name Visibility Description
check_element protected Check element by calling events.
DrawControl public Print a control.
DrawGraphic public Print a graphic.
DrawMap(IGIS_Viewer, TGIS_Extent, TRect, double) public Print a map given by the viewer using passed _printer.
DrawMap(IGIS_Viewer, TGIS_Extent, TRect, double, TGIS_Extent) public Print a map given by the viewer using passed _printer.
draw_box protected Draw a box defined in the .tpl by 'BOX'.
draw_control protected Draw a control defined in the .tpl by 'LEGEND', 'SCALE' or 'NORTHARROW'.
draw_element protected Draw element by calling events.
draw_frame protected Draw a frame defined in the .tpl by 'FRAME'.
draw_graphic protected Draw an image defined in the .tpl by 'GRAPHIC'.
draw_legend protected Draw a legend defined in the .tpl by 'LEGEND'.
draw_map protected Draw a map defined in the .tpl by 'MAP'.
draw_northArrow protected Draw a scale defined in the .tpl by 'SCALE'.
draw_scale protected Draw a scale defined in the .tpl by 'SCALE'.
draw_text protected Draw a text defined in the .tpl by 'TEXT'.
GetPdfPageSize protected Return PAGESIZE value from the template file.
init_element protected Init element by calling events.
Print(IGIS_Viewer) public Print a map given by the viewer using default printer.
Print(IGIS_Viewer, TObject) public Print a map given by the viewer using passed _printer.
Print(IGIS_Viewer, TObject, double) public Print a map given by the viewer using passed _printer.
processTemplatePrinting protected Print a page according to defined template.

Properties

Inherited Protected
Name Visibility Description
Footer public Text for the footer that will appear on a printed page.
FooterFont public Font for the header that will appear on a printed page.
OverlappedExtentMargin public Margin (in pixels) to scan around a printed tile.
Subtitle public Text for the subtitle that will appear on a printed page.
SubtitleFont public Font for the subtitle that will appear on a printed page.
Template public Print template object.
TileSize public Size of tile (in pixels) used when printing semitransparent layers.
Title public Text for the title that will appear on a printed page.
TitleFont public Font for the title that will appear on a printed page.

Remarks

Available metadata keys :

Metadata Values Default Description
TGIS_PrintManager.DisableGlow TRUE FALSE FALSE True disables NorthArrow & Scale controls glowing shadow. Use this if a printer does not support transparency (e.g. some PDF proi9nters).
TGIS_PrintManager.OverlappedExtentMargin Integer -1 Width (in pixels) of a margin which will be searched around every printed tile. Default value is -1, it means a 50-inch margin.

2020/06/10 01:17