diff options
Diffstat (limited to 'demos/csharp/windows/ghostnet_wpf_example/DocPage.cs')
-rw-r--r-- | demos/csharp/windows/ghostnet_wpf_example/DocPage.cs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/demos/csharp/windows/ghostnet_wpf_example/DocPage.cs b/demos/csharp/windows/ghostnet_wpf_example/DocPage.cs index c28bd62d..93316d9d 100644 --- a/demos/csharp/windows/ghostnet_wpf_example/DocPage.cs +++ b/demos/csharp/windows/ghostnet_wpf_example/DocPage.cs @@ -10,6 +10,7 @@ namespace ghostnet_wpf_example private int height; private int width; private double zoom; + private bool aa; private BitmapSource bitmap; private String pagename; private int pagenum; @@ -41,6 +42,12 @@ namespace ghostnet_wpf_example set { zoom = value; } } + public bool AA + { + get { return aa; } + set { aa = value; } + } + public BitmapSource BitMap { get { return bitmap; } @@ -90,12 +97,13 @@ namespace ghostnet_wpf_example this.pagename = ""; } - public DocPage(int Height, int Width, double Zoom, BitmapSource BitMap, int PageNum) + public DocPage(int Height, int Width, double Zoom, BitmapSource BitMap, int PageNum, bool AA) { this.height = Height; this.width = Width; this.zoom = Zoom; this.bitmap = BitMap; + this.aa = AA; this.pagename = ("Page " + (pagenum + 1)); } }; |