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); }
/// <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); }
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)); }
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)); }
protected override void Dump(StringBuilder builder) { base.Dump(builder); Bitmap16.Dump(builder); builder.AppendLine("Bits: " + WmfHelper.DumpByteArray(this.Bits)); }