Пример #1
0
        public IMetafileContainer AddMetafileContainer(Metafile metafile, int x, int y)
        {
            MetafileContainer metafileContainer = new MetafileContainer(this);

            metafileContainer.Metafile = metafile;
            metafileContainer.Left     = x;
            metafileContainer.Top      = y;
            AddElement(metafileContainer);
            return(metafileContainer);
        }
Пример #2
0
        public IMetafileContainer AddMetafileContainer(string filename, int x, int y)
        {
            MetafileContainer metafileContainer = new MetafileContainer(this);

            metafileContainer.Load(filename);
            metafileContainer.Left = x;
            metafileContainer.Top  = y;
            AddElement(metafileContainer);
            return(metafileContainer);
        }
Пример #3
0
 public IMetafileContainer AddMetafileContainer(Metafile metafile, int x, int y)
 {
     MetafileContainer metafileContainer = new MetafileContainer(this);
     metafileContainer.Metafile = metafile;
     metafileContainer.Left = x;
     metafileContainer.Top = y;
     AddElement(metafileContainer);
     return metafileContainer;
 }
Пример #4
0
 public IMetafileContainer AddMetafileContainer(string filename, int x, int y)
 {
     MetafileContainer metafileContainer = new MetafileContainer(this);
     metafileContainer.Load(filename);
     metafileContainer.Left = x;
     metafileContainer.Top = y;
     AddElement(metafileContainer);
     return metafileContainer;
 }