Package | com.yworks.canvas |
Interface | public interface ICanvasPrintContext |
CanvasPrinter
.
See also
Property | Defined By | ||
---|---|---|---|
landscape : Boolean [read-only]
Whether to print in landscape mode
| ICanvasPrintContext | ||
pageHeight : Number [read-only]
The printable page height. | ICanvasPrintContext | ||
pageIndex : uint [read-only]
The current page number. | ICanvasPrintContext | ||
pageWidth : Number [read-only]
The printable page width. | ICanvasPrintContext | ||
paperHeight : Number [read-only]
The overall paper height
| ICanvasPrintContext | ||
paperWidth : Number [read-only]
The overall paper width
| ICanvasPrintContext | ||
scale : Number [read-only]
The scale factor that is applied to the canvas contents for printing. | ICanvasPrintContext |
Method | Defined By | ||
---|---|---|---|
cancel():void
Cancel printing. | ICanvasPrintContext |
landscape | property |
landscape:Boolean
[read-only] Whether to print in landscape mode
public function get landscape():Boolean
See also
pageHeight | property |
pageHeight:Number
[read-only] The printable page height.
public function get pageHeight():Number
See also
pageIndex | property |
pageIndex:uint
[read-only] The current page number.
public function get pageIndex():uint
pageWidth | property |
pageWidth:Number
[read-only] The printable page width.
public function get pageWidth():Number
See also
paperHeight | property |
paperHeight:Number
[read-only] The overall paper height
public function get paperHeight():Number
See also
paperWidth | property |
paperWidth:Number
[read-only] The overall paper width
public function get paperWidth():Number
See also
scale | property |
scale:Number
[read-only] The scale factor that is applied to the canvas contents for printing.
public function get scale():Number
See also
cancel | () | method |
public function cancel():void
Cancel printing.