Exemplo n.º 1
0
        public XmlClasses.Subsheet GetBpSubsheet()
        {
            XmlClasses.Subsheet bpSubsheet = new XmlClasses.Subsheet();

            bpSubsheet.Name              = page.Name;
            bpSubsheet.Published         = page.Published ? "True" : "False";
            bpSubsheet.SubsheetId        = page.Id;
            bpSubsheet.Type              = page.Type;
            bpSubsheet.View              = new XmlClasses.View();
            bpSubsheet.View.CameraX      = page.View.CameraX;
            bpSubsheet.View.CameraY      = page.View.CameraY;
            bpSubsheet.View.Zoom         = new XmlClasses.Zoom();
            bpSubsheet.View.Zoom.Version = page.View.Version;
            bpSubsheet.View.Zoom.Value   = page.View.Zoom;

            return(bpSubsheet);
        }
Exemplo n.º 2
0
 public Page(XmlClasses.Subsheet bpSubsheet)
 {
     this.bpSubsheet = bpSubsheet;
 }