Ejemplo n.º 1
0
 /// <summary>
 /// Sets the bitmap thumbnail.
 /// </summary>
 /// <param name="thumbnail">Raw data of the thumbnail image.  Should be a 256-color bitmap, 180 pixels wide, any height.</param>
 public void SetThumbnailBitmap(byte[] thumbnail)
 {
     if (ThumbnailImageSection == null)
     {
         ThumbnailImageSection = new DxfThumbnailImageSection();
     }
     ThumbnailImageSection.SetThumbnailBitmap(thumbnail);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Gets the thumbnail bitmap.
 /// </summary>
 /// <returns>Raw bytes that should serialize to a .BMP file.</returns>
 public byte[] GetThumbnailBitmap()
 {
     return(ThumbnailImageSection == null ? null : ThumbnailImageSection.GetThumbnailBitmap());
 }