以下是从IE页面复制的嵌入式版本:
<
embed width="100%" height="100%" src="data:application/pdf,%PDF-1.4 %ÓôÌá 1 0 obj << /CreationDate(D:20151030142159-07'00') /Title(Created with PDFsharp) /Creator(PDFsharp 1.32.3057-g (www.pdfsharp.net)) /Producer(PDFsharp 1.32.3057-g (www.pdfsharp.net)) >> endobj 2 0 obj << /Type/Catalog /Pages 3 0 R >> endobj 3 0 obj << /Type/Pages /Count 1 /Kids[4 0 R] >> endobj 4 0 obj << /Type/Page /MediaBox[0 0 612 792] /Parent 3 0 R /Contents 5 0 R /Resources << /ProcSet [/PDF/Text/ImageB/ImageC/ImageI] /ExtGState << /GS0 6 0 R >> /Font << /F0 8 0 R >> >> /Group << /CS/DeviceRGB /S/Transparency /I false /K false >> >> endobj 5 0 obj << /Length 98 /Filter/FlateDecode >> stream x+ä2T0�B]eni¤d(Tqr9pé»(¤sé»ÅÓ¸L,ôÌÍMLôÌ,BR4> endobj 7 0 obj << /Type/FontDescriptor /Ascent 891 /CapHeight 662 /Descent -216 /Flags 32 /FontBBox[-547 -307 1401 1032] /ItalicAngle -16.333 /StemV 0 /XHeight 439 /FontName/TimesNewRoman,BoldItalic >> endobj 8 0 obj << /Type/Font /Subtype/TrueType /BaseFont/TimesNewRoman,BoldItalic /Encoding/WinAnsiEncoding /FontDescriptor 7 0 R /FirstChar 0 /LastChar 255 /Widths[777 777 777 777 777 777 777 777 777 777 777 777 777 777 777 777 777 777 777 777 777 777 777 777 777 777 777 777 777 777 777 777 250 389 555 500 500 833 777 277 333 333 500 569 250 333 250 277 500 500 500 500 500 500 500 500 500 500 333 333 569 569 569 500 832 666 666 666 722 666 666 722 777 389 500 666 610 889 722 722 610 722 666 556 610 722 666 889 666 610 610 333 277 333 569 500 333 500 500 443 500 443 333 500 556 277 277 500 277 777 556 500 500 500 389 389 277 556 443 666 500 443 389 348 220 348 569 777 500 777 333 500 500 1000 500 500 333 1000 556 333 943 777 610 777 777 333 333 500 500 350 500 1000 333 1000 389 333 722 777 389 610 250 389 500 500 500 500 220 500 333 747 266 500 605 333 747 500 399 548 299 299 333 576 500这个文档只包含"Hello, World!",并且使用C#中的File.ReadAllBytes(...)函数直接从一个实际的PDF文件中读取。
object
标签,在IE上效果类似 :-|<object width="100%" type="application/pdf" height="100%" data="data:application/pdf;base64,...>示例PDF</object>
- dwarring