Ejemplo n.º 1
0
 public LVBKIMAGE(ListViewBkImageFlag flags)
 {
     ulFlags = flags;
     if (ulFlags.IsFlagSet(ListViewBkImageFlag.SourceUrl))
     {
         cchImageMax = 1024;
         InteropUtil.AllocString(ref pszImage, ref cchImageMax);
     }
 }
Ejemplo n.º 2
0
 public LVBKIMAGE(System.Drawing.Bitmap bmp, bool isTiled)
 {
     this.Bitmap  = bmp;
     this.ulFlags = ListViewBkImageFlag.SourceHbitmap;
     if (isTiled)
     {
         this.ulFlags |= ListViewBkImageFlag.StyleTile;
     }
 }
Ejemplo n.º 3
0
 public LVBKIMAGE(string url, bool isTiled)
 {
     this.Url     = url;
     this.ulFlags = ListViewBkImageFlag.SourceUrl;
     if (isTiled)
     {
         this.ulFlags |= ListViewBkImageFlag.StyleTile;
     }
 }
Ejemplo n.º 4
0
 public LVBKIMAGE(System.Drawing.Bitmap bmp, bool isWatermark, bool isWatermarkAlphaBlended)
 {
     this.Bitmap  = bmp;
     this.ulFlags = isWatermark ? ListViewBkImageFlag.TypeWatermark : ListViewBkImageFlag.SourceHbitmap;
     if (isWatermark && isWatermarkAlphaBlended)
     {
         this.ulFlags |= ListViewBkImageFlag.FlagAlphaBlend;
     }
 }
 public LVBKIMAGE(ListViewBkImageFlag flags)
 {
     ulFlags = flags;
     if (ulFlags.IsFlagSet(ListViewBkImageFlag.SourceUrl))
     {
         cchImageMax = 1024;
         InteropUtil.AllocString(ref pszImage, ref cchImageMax);
     }
 }
 public LVBKIMAGE(string url, bool isTiled)
 {
     this.Url = url;
     this.ulFlags = ListViewBkImageFlag.SourceUrl;
     if (isTiled)
         this.ulFlags |= ListViewBkImageFlag.StyleTile;
 }
 public LVBKIMAGE(System.Drawing.Bitmap bmp, bool isTiled)
 {
     this.Bitmap = bmp;
     this.ulFlags = ListViewBkImageFlag.SourceHbitmap;
     if (isTiled)
         this.ulFlags |= ListViewBkImageFlag.StyleTile;
 }
 public LVBKIMAGE(System.Drawing.Bitmap bmp, bool isWatermark, bool isWatermarkAlphaBlended)
 {
     this.Bitmap = bmp;
     this.ulFlags = isWatermark ? ListViewBkImageFlag.TypeWatermark : ListViewBkImageFlag.SourceHbitmap;
     if (isWatermark && isWatermarkAlphaBlended)
         this.ulFlags |= ListViewBkImageFlag.FlagAlphaBlend;
 }