| 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():BooleanSee also
| pageHeight | property |
pageHeight:Number [read-only] The printable page height.
public function get pageHeight():NumberSee 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():NumberSee also
| paperHeight | property |
paperHeight:Number [read-only] The overall paper height
public function get paperHeight():NumberSee also
| paperWidth | property |
paperWidth:Number [read-only] The overall paper width
public function get paperWidth():NumberSee also
| scale | property |
scale:Number [read-only] The scale factor that is applied to the canvas contents for printing.
public function get scale():NumberSee also
| cancel | () | method |
public function cancel():voidCancel printing.