Ejemplo n.º 1
0
 internal DocumentHandleInfo Clone()
 {
     return(new DocumentHandleInfo(
                Handle,
                FileName == null ? null : FileName.Clone(),
                CustomData == null ? null : CustomData.Clone()
                ));
 }
Ejemplo n.º 2
0
        public object Clone()
        {
            ImageOverlay clone = new ImageOverlay();

            clone.FullPath            = FullPath.Clone() as string;
            clone.FileName            = FileName.Clone() as string;
            clone.HorizontalAlignment = HorizontalAlignment;
            clone.VerticalAlignment   = VerticalAlignment;
            clone.Margin = Margin;

            return(clone);
        }