Windows 8 Store Apps Learning (41) printing

Source: Internet
Author: User
Tags visibility xmlns

Introduced

Re-imagine the Windows 8 Store Apps Print

Example

1, need to print the document

Print/printpage.xaml

<page x:class= "XamlDemo.Print.PrintPage" xmlns= "http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x= "Http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local= "Using:XamlDemo.Print" xmlns:d= "Http://schema" s.microsoft.com/expression/blend/2008 "xmlns:mc=" http://schemas.openxmlformats.org/markup-compatibility/2006 "MC : ignorable= "D" > <!--documents to be printed--> <grid x:name= "Printablearea" > <gr Id.
            rowdefinitions> <rowdefinition height= "/> <rowdefinition height=" 3* "/>" <rowdefinition height= "3*"/> <rowdefinition height= "4*"/> <rowdefinition "/>" </Grid.RowDefinitions> <Grid.ColumnDefinitions> <columndefinition Wid Th= "6*"/> <columndefinition width= "4*"/> </Grid.ColumnDefinitions> <!-
     -Page header, only the first page needs header-->   <stackpanel x:name= "header" orientation= "horizontal" grid.row= "0" grid.columnspan= "2" height= "" Visibility= " Collapsed "> <image source=" ms-appx:///assets/logo.png "horizontalalignment=" left "/> <R Ichtextblock foreground= "Black" fontsize= "a" textalignment= "left" margin= "0 0 0" > <Paragraph> WEBABCD Print demo</paragraph> </RichTextBlock> </StackPanel> <!--body --> <richtextblock foreground= "Black" x:name= "textcontent" fontsize= "grid.row=" "1" grid.columnspan= "2" Te Xtalignment= ' left ' verticalalignment= ' top ' horizontalalignment= ' left ' overflowcontenttarget= ' {Bindi ng Elementname=imagelefttext} "> <paragraph fontsize=" >Microsoft</Paragraph> < Paragraph></paragraph> <paragraph textindent= > Microsoft (microsoft,nasdaq:msft,hkex:4338) Inc. is the world PC (Personal Computer, personal computer) software developmentThe forerunner, initiated by Bill Gates and Paul Allen in 1975, is headquartered in Redmon, Washington (Redmond, near Seattle). is currently the world's largest computer software provider. Microsoft has 90,000 employees and 69.94 billion U.S. dollars in 2012, and its main products are Windows operating system, Internet Explorer Web browser, and Microsoft Office Office software suite. 1999 launched the MSN Messenger Network instant Information client program, 2001 launched Xbox game consoles, participate in the game Terminal Market competition. August 23, 2012, Microsoft has changed its logo for the first time since 25. </Paragraph> <Paragraph></Paragraph> <paragraph textindent= ">2001", Microsoft combines The advantages of Windows 98 and the Windows 2000 series are the introduction of the Windows XP operating system, which XP means "experience." XP system focused on security and stability, the first time in the Windows operating system integration of Microsoft's own firewall products. It also expands the capabilities of multimedia applications. There are two main versions of the XP system, home and professional, where the Professional edition retains the security features of user management, Group Policy, and so on in Windows 2000 and makes it easier to use. Once again, Windows XP has become a classic in the history of software development. </Paragraph> <Paragraph></Paragraph> <paragraph textindent= "The" > in the IT software industry is circulating Such a caveat: "Never do what Microsoft wants to do."

It can be seen that Microsoft's enormous potential has penetrated all aspects of the software industry, and it is pervasive and unstoppable. Microsoft's huge impact has already put a lot of pressure on software peers and has pushed itself into the position of a defendant to antitrust law. Even Intel, a reliable partner for years, has been in court. In September 2001, in view of the economic downturn, the U.S. government intends to revive the US information industry and refuse to split Microsoft. At this point, v. Microsoft Antitrust law to the point. </Paragraph> <Paragraph></Paragraph> <paragrAPh textindent= > Microsoft co-founder and leader Bill Gates, Paul Allen, two are the world's intellectual, talented talent. Paul Allen's IQ quotient surpasses 170, when Microsoft co-founder Bill Gates World Genius ranked Nineth, Bill Gates Intelligence quotient surpasses 160, once studied in Harvard University, the Mathematics achievement is outstanding, has solved a world difficult problem, by the American Academy of Sciences academician Harvard Professor Commendation, and publishes the paper jointly with the teacher.

Ballmer, the current President of the United States, the first 10 math competition, the United States College Entrance examination sat, Paul Allen and Ballmer is also achieved 1600 points of full marks. </Paragraph> <Paragraph></Paragraph> <paragraph textindent= ">xbox360" is the world The second generation of home video game hosts developed by Microsoft, the largest computer software company, were developed as "Xenon", "Xbox 2" and "Xbox Next". The Microsoft Xbox360 is the only one by one has the timer function The game machine, the parents can easily set the corresponding game time, simultaneously also can the child to play, the content which the view limits. The Xbox Live was born in 2002 and is the Internet service provided by Microsoft for its Xbox, the game host. Online Games: A buddy list that supports voice messaging, private voice chat, personalization, and unified standards. The 2001 Company's Xbox video game marked the beginning of the company's entry into the tens of billions of dollars in gaming end markets, which had been dominated by Sony and Nintendo (Nintendo) 's two companies. November 22, 2005, Microsoft sells second generation home video game host Xbox360. </Paragraph> <Paragraph></Paragraph> <paragraph textindent= "" > Beijing time May 22 Microsoft May 21 officially unveiled a new generation of Xbox One, Microsoft has defined it as a all-in-one gaming and entertainment system, emphasizing a full entertainment experience with TV and gaming, according to Microsoft's website and Reuters. The release was 8 years after Microsoft released its previous generation of Xbox 360 in 2005. Microsoft's corporate headquarters in Redmond, Wash., demonstrates how Xbox One places users in all games, televisions, movies, music,The center of Sport and Skype. "The Xbox one goal is to offer a powerful new generation of gaming, television and entertainment in a powerful all-in-one device," said Don Mattrick, president of Microsoft Interactive Entertainment, Tang Matrick. Our unique modern architecture will bring simplicity to the living room for the first time, with the ability to instantly convert between games and entertainment. "</Paragraph> <Paragraph></Paragraph> <paragraph textindent=" > New Generation Kinec T increases the resolution of video photography to 1080p, the perspective is wider than the previous generation of 60, depth detection by the more accurate time of Flight (TOF) technology, through the launch and sense of infrared reflection of the times to construct the depth of the scene information, even the wrinkles of the clothes can be mastered, with the visible and infrared two groups Sensors that provide sensing capabilities that are unaffected by ambient light. With more accurate depth information, a new generation of Kinect is able to more accurately control the movement of the human joints, and can be judged by the opening and closing of the thumb and palm. Not only posture, but also through simulation to master the muscle force and the transfer of center of gravity. The pulse can be reflected by the blood vessels reflecting the visible light and infrared rays, and the ability of facial recognition and expression judgment. In addition to faster response and more accurate detection, the new generation of Kinect also has a maximum of 2 people in the previous generation to expand to up to 6 people, as well as a face recognition to master the location of different players, providing more possibilities for more people to play with. </Paragraph> </RichTextBlock> <richtextblockoverflow x:name= "Imagelefttext" overflowcontent target= "{Binding elementname=textoverflow}" grid.row= "2" grid.column= "0"/> <image source= "Ms-appx:///asset S/logo.png "horizontalalignment=" right "grid.row=" 2 "grid.column=" 1 "margin=" ten "/> <richtextblockoverflow x: Name= "TexToverflow "grid.row=" 3 "grid.columnspan=" 2 "/> <!--footer, only the last page needs a footer--> <stackpanel x:name=" foo ter "orientation=" Horizontal "grid.row=" 4 "grid.column=" 0 "height=", "visibility=" collapsed "> <image" Urce= "Ms-appx:///assets/logo.png" horizontalalignment= "left"/> <richtextblock foreground= "Black" FontSi Ze= "textalignment=" "left" margin= "0 0 0" > <paragraph>http://webabcd.cnblogs.com/</paragr aph> </RichTextBlock> </StackPanel> </Grid> </Page>

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.