HSLayers.Print.PrintForm (class)

HSLayers.Print.PrintForm

class HSLayers.Print.PrintForm(config)

Form panel for input print parameters

param Object config:
 
possible values (key / value pair):

printTemplates - {Array of Array} - templates info

Example usage:

var form = new HSLayers.Print.PrintForm({
    printTemplates: [
        ["basic.html", "pdf", "A4 portrait"]
    ],
});

Properties

HSLayers.Print.PrintForm.map

HSLayers.Print.PrintForm

Methods

HSLayers.Print.PrintForm.getPrintOptions()
HSLayers.Print.PrintForm.initComponent()
HSLayers.Print.PrintForm.drawPaper(fit)

Draw paper on the map

Arguments:
  • fit (Boolean) – fit paper size to map frame
HSLayers.Print.PrintForm.getScale()
HSLayers.Print.PrintForm.getText()
HSLayers.Print.PrintForm.getPaperBounds()
HSLayers.Print.PrintForm.removePaper()

Main Menu


Table Of Contents

Previous topic

HSLayers.Print.PrintDialog (class)

Next topic

HSLayers.Printer (class)

This Page