You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by pu...@apache.org on 2021/09/18 15:18:58 UTC

[royale-asjs] branch develop updated: Added pageHeight and pageWidth in FlexPrintJob.as

This is an automated email from the ASF dual-hosted git repository.

pushminakazi pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new 108b6cb  Added pageHeight and pageWidth in FlexPrintJob.as
108b6cb is described below

commit 108b6cb461adb80fe9f8bef1a3cd554729bba5eb
Author: pashminakazi <pa...@gmail.com>
AuthorDate: Sat Sep 18 08:18:47 2021 -0700

    Added pageHeight and pageWidth in FlexPrintJob.as
---
 .../MXRoyale/src/main/royale/mx/printing/FlexPrintJob.as     | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/printing/FlexPrintJob.as b/frameworks/projects/MXRoyale/src/main/royale/mx/printing/FlexPrintJob.as
index e5fed9a..99e394c 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/printing/FlexPrintJob.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/printing/FlexPrintJob.as
@@ -112,7 +112,7 @@ public class FlexPrintJob
      *  @private
      *  Storage for the pageHeight property.
      */
-   // private var _pageHeight:Number = 0;
+    private var _pageHeight:Number = 0;
 
     /**
      *  The height  of the printable area on the printer page; 
@@ -124,10 +124,10 @@ public class FlexPrintJob
      *  @playerversion AIR 1.1
      *  @productversion Royale 0.9.3
      */
-   /*  public function get pageHeight():Number
+     public function get pageHeight():Number
     {
         return _pageHeight;
-    } */
+    }
 
     //----------------------------------
     //  pageWidth
@@ -137,7 +137,7 @@ public class FlexPrintJob
      *  @private
      *  Storage for the pageWidth property.
      */
-   // private var _pageWidth:Number = 0;
+    private var _pageWidth:Number = 0;
     
     /**
      *  The width of the printable area on the printer page;
@@ -149,10 +149,10 @@ public class FlexPrintJob
      *  @playerversion AIR 1.1
      *  @productversion Royale 0.9.3
      */
-    /* public function get pageWidth():Number
+     public function get pageWidth():Number
     {
         return _pageWidth;
-    } */
+    }
 
     //----------------------------------
     //  printAsBitmap