User Tools

Site Tools


api:dk11:net:tatukgis.ndk.winforms.tgis_controlprintpreview.previewinternal_integer_tgis_printmanagerabstract_tgis_printerpreview_double

Table of Contents

TGIS_ControlPrintPreview.previewInternal method

DK11 for .NET | TatukGIS.NDK.WinForms.TGIS_ControlPrintPreview.previewInternal | Constructors | Methods | Properties

Internal method for preview selected page.

Available also on: Delphi FMX.

Syntax

// C#
protected string previewInternal(
  int _pageNumber,
  TGIS_PrintManagerAbstract _printManager,
  TGIS_PrinterPreview _printer,
  ref double _scale
);
' VisualBasic
Protected Function previewInternal(
  ByVal _pageNumber As Integer,
  ByVal _printManager As TGIS_PrintManagerAbstract,
  ByVal _printer As TGIS_PrinterPreview,
  ByRef _scale As Double
) As String
// Oxygene
protected
  function previewInternal(
    _pageNumber : Integer;
    _printManager : TGIS_PrintManagerAbstract;
    _printer : TGIS_PrinterPreview;
    var _scale : Double
  ) : String;

Parameters

Name Type Description
_pageNumber int
Integer
page number to be previewed (1 means the first page)
_printManager TGIS_PrintManagerAbstract print manager object
_printer TGIS_PrinterPreview virtual printer
_scale double
Double
scale factor used during print (for printing scale etc); if scale=0 then scale will be calculated automatically to fit the _extent

Result

Type Description
string
String
Title string.

Remarks

Printing fails when GIS_Viewer.InPaint is set to True.

2021/12/27 16:11

Page Tools