Exemplo n.º 1
0
 public override void Dump(StringBuilder builder)
 {
     base.Dump(builder);
     builder.AppendLine("\tCount: " + this.Count);
     builder.AppendLine("\tTop: " + this.Top);
     builder.AppendLine("\tBottom: " + this.Bottom);
     builder.AppendLine("\tScanLines: " + WmfHelper.DumpByteArray(this.ScanLines));
     builder.AppendLine("\tCount2: " + this.Count);
 }
Exemplo n.º 2
0
        /// <summary>
        /// Creates an example from the official specification document.
        /// </summary>
        /// <param name="path"></param>
        public static void CreateOfficialSample(string path)
        {
            var wmf = WmfHelper.GetExampleFromSpecificationDocument();

            wmf.Records.Insert(0, new WmfFormat()
            {
                Right = 0x0096, Bottom = 0x0046, Unit = 100
            });
            wmf.Save(path);
        }
Exemplo n.º 3
0
 public override void Dump(StringBuilder builder)
 {
     base.Dump(builder);
     builder.AppendLine("\tType: " + this.Type);
     builder.AppendLine("\tWidth: " + this.Width);
     builder.AppendLine("\tHeight: " + this.Height);
     builder.AppendLine("\tWidthBytes: " + this.WidthBytes);
     builder.AppendLine("\tPlanes: " + this.Planes);
     builder.AppendLine("\tBitsPixel: " + this.BitsPixel);
     builder.AppendLine("\tBits: " + WmfHelper.DumpByteArray(this.Bits));
 }
Exemplo n.º 4
0
 public override void Dump(StringBuilder builder)
 {
     builder.AppendLine("\tDIBHeaderInfo: " + this.DIBHeaderInfo.Dump());
     builder.AppendLine("\tColors: " + "?");             //TODO: Value output?
     builder.AppendLine("\taData: " + WmfHelper.DumpByteArray(this.Data));
 }
Exemplo n.º 5
0
 protected override void Dump(StringBuilder builder)
 {
     base.Dump(builder);
     Bitmap16.Dump(builder);
     builder.AppendLine("Bits: " + WmfHelper.DumpByteArray(this.Bits));
 }