Free Support Forum - aspose.com

PrettyFormat vs non-PrettyFormat

Hi,

What is the difference between PrettyFormat and non-PrettyFormat formatting?


Albert

Hi

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request. Please follow the link to learn more about PrettyFormat property:

http://www.aspose.com/documentation/.net-components/aspose.words-for-.net/aspose.words.saving.saveoptions.prettyformat.html

Best regards,

Hi

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thank you for your interest in Aspose.Words. To be more specific, here is example of HTML output in “pretty” format:

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<meta http-equiv="Content-Style-Type" content="text/css" />

<meta name="generator" content="Aspose.Words for .NET 9.4.0.0" />

<title>

</title>

</head>

<body>

<div>

<p style="margin:0pt 0pt 10pt; line-height:115%; font-size:11pt"><span style="font-family:Calibri; font-size:11pt">Hello World!!!</span></p>

</div>

</body>

</html>

And here is the same document output in “not pretty” format:

Hello World!!!

Best regards,