Ejemplo n.º 1
0
 /// <inheritdoc/>
 public TBitmap Read(Stream stream) => Read(StructUtil.ReadBytes(stream));
Ejemplo n.º 2
0
 /// <inheritdoc/>
 public TBitmap Read(Stream stream, BitmapReaderFlags pFlags) => Read(StructUtil.ReadBytes(stream), pFlags);
Ejemplo n.º 3
0
        /// <summary>
        /// Set clipboard format to the current clipboard. This will clear the clipboard
        /// if this is the first call to "Set" since the clipboard handle was opened.
        /// </summary>
        public virtual void SetFormat(ClipboardFormat format, Stream stream)
        {
            var bytes = StructUtil.ReadBytes(stream);

            SetFormatObject(format.Id, bytes, new BytesDataConverter());
        }