How to represent HTML page as PDF document in ASP.NET
DuoDimension Software reveals PDF Duo. NET, a fully-fledged HTML Converter PDF, which offers an easy way to create / convert PDF documents to HTML Web page in your application or ASP.NET web site.
The main class HtmlToPdf provides all necessary methods and properties to enable multi-purpose customization of the resulting PDF. Here is the simplest example code that shows how to convert HTML to PDF in ASP.NET C# :
[------------------------------------------------------[C# example]-----------]
string file_html = @"http:www.sitecompany.comhtml_pagesconvert.html";
string file_pdf = @"http:www.sitecompany.compdf_docreport.pdf";
try
{
DuoDimension.HtmlToPdf conv = new DuoDimension.HtmlToPdf();
conv.OpenHTML(file_html);
conv.SavePDF(file_pdf);
System.Diagnostics.Process.Start(file_pdf);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
[------------------------------------------------------[C# example]-----------]
Also installing package is provided with fully featured demos written in both C# and Visual Basic. Simple examples with source code help you using the PDF Duo .Net component to successfully convert HTML to PDF. The functionality of the converter cover many particular task:
- Create PDF document using string formed by HTML tags.
- Converting the HTML page from remote address using URL.
- Converting the HTML page represented as string with html tags.
- After the conversion from HTML to PDF produced Open PDF in the browser window without saving to disk.
- & others.
More information on how to convert HTML to PDF with the help of PDF Duo. Net component see the website of the issuer
http://www.duodimension.com/html_pdf_asp.net/component_h ...
If you have any questions or concerns about component, let us know:
support@duodimension.com
Private Secretary to support team is very friendly
Getting Started With Word 2007
CREATING AND EDITING DOCUMENTS
Introduction
MS Word 2007 is an easy-to-use word processing tool that enables you to create various documents to store your professional and personal data. For example, you can use Word 2007 to create a brochure for promoting a new product of your company or a newsletter for circulating the latest official news among your coworkers. Word 2007 provides several features that help you create, save, and open documents easily.
At the end of this topic, you will be able to:
create a new Word 2007 document.
Creating a Document
Word 2007, you can save different types of documents such as resumes, reports, and create e-mail messages. You can create these documents either from scratch or using predefined templates and wizards. Each method has its advantages. For example, the creation of a document created out of nothing flexibility and ensures accuracy. On the other hand, you can use predefined templates or wizards to create professional documents quickly and easily. After creating a document, you can select the desired text into the document and then save the document for later reference or revision. For more information visit
http://www.teachmeit.com/samplecourse/ms/msa/content.asp
Creating a Document from Scratch
Every time you start Word 2007, a blank document is created by default. You can explicitly create a new document by clicking the Office Button and then selecting the New command. This displays the New Document dialog box. On the Blank and recent page of the New Document dialog box, you have several options to create a blank document.
Creating a Blank Document
In the New Document dialog box, when you double-click the Blank document option, a new document is created. A blinking cursor is displayed in the upper-left corner of the new document. The Home tab is displayed by default. Next, you select the font face and font size for the text from the Font group and start typing.
Creating a New Blog Entry
In the New Document dialog box, when you double-click the new blog post option, a new blog files are created. When you create a blog for the first time documents, sign up for a blog account that displays a message box. This message, you can register a blog service provider. You can also choose to choose to register. Then, you can insert the information you want to publish your document in the blog. Finally, you need to click on the blog post labels issued an order button to publish blog into your site. If you have not registered to a blog service provider, sign up for a blog account, the message box is displayed again. For more information, please visit
http://www.teachmeit.com/samplecourse/ms/msa/content.asp
Creating a Template
To create a template, you first create a document with the settings that you may want to use in future. Then, you click the Office Button and select the Save As command from the menu. This displays the Save As dialog box. Here, you click the Trusted Templates link in the left pane. This opens the default Templates folder for saving the template. Next, you select the Word Template option from the Save as type drop-down list. You can use the File name text box to change the default name, if required. Finally, you click the Save button.
Creating a Document from a Template
To create a document from a template, you click the Office Button and select the New command from the menu. This displays the New Document dialog box. Here, you select the My templates... option from the Templates section. This displays the New dialog box. This dialog box lists the templates that you have created and saved on your computer. You select a template from the My Templates tab and click the OK button. This opens a new document with the settings saved in the selected template.
Creating a New Document from an Existing Document
You may need to create a new Word 2007 document from a template. For example, you want to create a document from a document called Technical training. To create such a document, select New from the existing ... Option in the New Document dialog box. This shows the New from Existing Document dialog box. In this dialog box, browse to the folder that contains the source document with the show in the drop-down list. Then select the source document and click the Create New button. This creates a new document in the folder that contains the source document.
For more information visit
http://www.teachmeit.com/samplecourse/ms/msa/content.asp
Moving Text in a Document
When working in a document, you might need to move certain text in the document within the same document or to a different document. You can use the options provided in the Clipboard group on the Home tab to move or copy selected text. To move the selected text, you click the Cut command button on the Clipboard group. Then, you click at the point where you want the text to appear and click the Paste command button. To move the text to another document, you switch to the new document and click the Paste command button.
Copying Text
You can copy text within the same document or across documents. To copy text, you select the text that you want to copy and then select the Copy command button in the Clipboard group. Next, you click at the point where you want the text to appear in the same document or in another document. Next, you click the Paste command button to paste the selected text at the specified location.
Paste Options
You can access different paste options by using the Paste Special... and Paste as Hyperlink options in the Paste gallery. The Paste Special dialog box is displayed when you select the Paste Special... option. It provides you with different options to paste your text. For example, the Unformatted Text option allows you to paste text without formatting. The Paste as Hyperlink option allows you to paste a hyperlink to a file in another file to link the two files. For this, you first need to save the file, copy the text to use as a hyperlink, click at a location where you want to insert the hyperlink, and then select the Paste as Hyperlink option. For more information visit
http://www.teachmeit.com/samplecourse/ms/msa/content.asp
Saving a Document
In creating and formatting documents, you need to save for future use. To do this, you click the Office button, select Save or Save As command to open the Save As dialog box. In this dialog box, use the Save In drop-down list, browse to your location to save the document. Next, you type your file name of the file name text box. You can choose to save the Save As Type drop-down list in the format of a different file format. Finally, click the Save button to save the file with the specified name and format of the specified location.
Options in the Save As Dialog Box
The Save As dialog box contains a section in which the shortcuts to the Trusted Templates, My Recent Documents, Desktop, My Documents, My Computer, and My Network Places folders are available. You can save your documents in any of these folders.
The Tools button, located at the bottom-left corner of the Save As dialog box, consists of options to delete, rename, and save documents. It also enables you to display the properties of files and folders, use Web options, such as mapping network drives, and set passwords. Additionally, this button enables you to configure save, security, and Web options, compress pictures, and clear document hierarchy. The top panel of the Save As dialog box enables you to perform various tasks, such as moving to the last opened folder, creating a new folder, or deleting a document or a folder.
Saving as a PDF or XPS
At times, you may want to share your documents with users who do not have Word 2007 installed on their computers. To do this, you click the Office Button and select Save As - PDF or XPS menu command. This command enables you to save your documents in the Portable Document Format (PDF) and XML Paper Specification (XPS) formats. Using these formats, you can easily share your Word 2007 documents with other users on the Internet without considering the type of computer or applications that they are using. For more information visit
http://www.teachmeit.com/samplecourse/ms/msa/content.asp
opening a Document
To open a saved document, you click the Office Button and then select the Open command. This displays the Open dialog box. In the Open dialog box, you browse to the folder where you saved the document by using the Look in drop-down list. Next, you select the document that you want to open. Finally, you click the Open button.
The Open dialog box enables you to open a document in different modes, such as read-only or copy. You can select the mode to open a document by clicking the arrow next to the Open button.
Reporting Investment: Saving Money and Time in the Business
The most terrifying task for any company, as a record for the company, is to sort the raw data of the entire infinite being collected over the years. Therefore, it is a major challenge for all companies to choose the right software to generate the document. In order to maintain their business in the way of reporting the appropriate quality, most people are following the following points.
If you really want in the field, the report is the proposed visit, "the official website of the future enterprise," and find out how they make their own a good contact.
The main thing that should be taken care of in any type of the document generating software is that what it shows, it must generate. Promising a lot and then showing very little is the sign of bad report generating software. The best thing that the user can do is to find the website which is offering the free trial download for the users. Users in this way can have an idea of limited fashion which can be applied to the business reports and help the users in using that software in more efficient manner.
Another important factor which has to be taken care of before choosing the software is the compatibility. Some of the questions which often arise in the mind of the users are that does the software is compatible with .Net or Java platforms or does the software is supported by Linux and Windows Operating system? Or does the software is capable of working with the different databases like the MS Access and the SQL Server?? Or is software capable of handling the different version of the same software or running programs? Hence accessibility and portability are considered to be the major key which every workplace is looking for. Collecting the information, analyzing it and then computing the whole data is the requirement of every big or small company.
Now it is important to know how the business software works in real reporting? The main thing is to ensure that users have is to wear that are always looking for software for the provision of various types of reporting options is capable. The software must be the implementation of the reports in various formats and can convert it needs also to the reports in the various supported formats.
Finally, it can be summed up some of the characteristics of good software reference are:
-?? ?It must be easy to use.
- It has wide range of features and options.
- Should be able to provide a great customer service combined with the excellent training program.
-?? ?It must be a good selling product.
Introduction to XML
The Extensible Markup Language, or XML, is a technique of using a document, such as a text file, to describe information and make that information available to whatever and whoever can take advantage of it. The description is done so the document can be created by one person or company and used by another person or another company without having to know who first created the document. This is because the document thus created is not a program, it is not an application: it is just a text-based document.
Because XML is very flexible, it can be used in regular Windows applications, in databases, in web-based systems (Internet), in communication applications, in computer networks, in scientific applications, etc. To make sure that XML can be universally used without one person or group owning it, it is standardized by the W3C (http://www.w3c.org) organization. XML is released through an XML Recommendation document with a version.
In this ebook, we will learn or use XML through the .NET Framework classes. The particularity is that these classes are highly structured to take care of all facets of XML without compromising the standards. In fact, the .NET Framework classes are highly conform to the W3C standards in all areas.
To create an XML file, in the document, you type units of code using normal characters of the English language. The XML document is made of units called entities. These entities are spread on various lines of the document as you judge them necessary and as we will learn. XML has strict rules as to how the contents of the document should or must be structured.
After an XML document has been created and is available, in order to use it, you need a program that can read, analyze, and interpret it. This program is called a parser. The most popular parser used in Microsoft Windows applications is MSXML, published by Microsoft.
Markup
A markup is an instruction that defines XML. The fundamental formula of a markup is:
<tag>
The left angle bracket "<" and the right angle bracket ">" are required. Inside of these symbols, you type a word or a group of words of your choice, using regular characters of the English alphabet and sometimes non-readable characters such as ?, !, or [. The combination of a left angle bracket "<", the right angle bracket ">", and what is inside of these symbols is called a markup. There are various types of markups we will learn.
The Document Type Declaration (DTD)
As mentioned above, XML is released as a version. Because there can be various versions, the first line that can be processed in an XML file must specify the version of XML you are using. At the time of this writing, the widely supported version of the .NET Framework is 1.0. When creating an XML file, you should (should in 1.0 but must in 1.1) specify what version your file is conform with, especially if you are using a version higher than 1.0. For this reason, an XML file should start (again, must, in 1.1), in the top section, with a line known as an XML declaration. It starts with <?xml version=, followed by the version you are using, assigned as a string, and followed by ?>. An example of such a line is:
<?xml version="1.0"?>
By default, an XML file created using Visual Studio 2005 specifies the version as 1.0. Under the XML declaration line, you can then create the necessary tags of the XML file.
Encoding Declaration
As mentioned already, the tags are created using characters of the alphabet and conform to the ISO standard. This is known as the encoding declaration. For example, most of the characters used in the US English language are known as ASCII. These characters use a combination of 7 bits to create a symbol (because the computer can only recognize 8 bits, the last bit is left for other uses). Such an encoding is specified as UTF-8. There are other standards such as UTF-16 (for wide, 2-Byte, characters).
To specify the encoding you are using, type encoding followed by the encoding scheme you are using, which must be assigned as a string. The encoding is specified in the first line. Here is an example:
<?xml version="1.0" encoding="utf-8"?>
Posted in: Internet Related| Tags: Windows XML Introduction Information language company person program markup file document