Erlang logo
User's Guide
Reference Manual
Release Notes
PDF
Top

wxErlang
Reference Manual
Version 0.98.4


Expand All
Contract All

Table of Contents

wxHtmlEasyPrinting

MODULE

wxHtmlEasyPrinting

MODULE SUMMARY

See external documentation: wxHtmlEasyPrinting.

DESCRIPTION

See external documentation: wxHtmlEasyPrinting.

DATA TYPES

wxHtmlEasyPrinting()

An object reference, The representation is internal and can be changed without notice. It can't be used for comparsion stored on disc or distributed for use on other nodes.

EXPORTS

new() -> wxHtmlEasyPrinting()

Equivalent to new([]).

new(Options::[Option]) -> wxHtmlEasyPrinting()

Types:

Option = {name, string()} | {parentWindow, wxWindow() (see module wxWindow)}

getPrintData(This::wxHtmlEasyPrinting()) -> wxPrintData() (see module wxPrintData)

getPageSetupData(This::wxHtmlEasyPrinting()) -> wxPageSetupDialogData() (see module wxPageSetupDialogData)

previewFile(This::wxHtmlEasyPrinting(), Htmlfile::string()) -> bool()

previewText(This::wxHtmlEasyPrinting(), Htmltext::string()) -> bool()

previewText(This::wxHtmlEasyPrinting(), Htmltext::string(), Options::[Option]) -> bool()

Types:

Option = {basepath, string()}

printFile(This::wxHtmlEasyPrinting(), Htmlfile::string()) -> bool()

printText(This::wxHtmlEasyPrinting(), Htmltext::string()) -> bool()

printText(This::wxHtmlEasyPrinting(), Htmltext::string(), Options::[Option]) -> bool()

Types:

Option = {basepath, string()}

pageSetup(This::wxHtmlEasyPrinting()) -> ok

setFonts(This::wxHtmlEasyPrinting(), Normal_face::string(), Fixed_face::string()) -> ok

setFonts(This::wxHtmlEasyPrinting(), Normal_face::string(), Fixed_face::string(), Options::[Option]) -> ok

Types:

Option = {sizes, [integer()]}

setHeader(This::wxHtmlEasyPrinting(), Header::string()) -> ok

setHeader(This::wxHtmlEasyPrinting(), Header::string(), Options::[Option]) -> ok

Types:

Option = {pg, integer()}

setFooter(This::wxHtmlEasyPrinting(), Footer::string()) -> ok

setFooter(This::wxHtmlEasyPrinting(), Footer::string(), Options::[Option]) -> ok

Types:

Option = {pg, integer()}

destroy(This::wxHtmlEasyPrinting()) -> ok

Destroys this object, do not use object again