The following example shows the effect that this parameter has
on PDF rendering.
[C#]
Doc theDoc = new Doc();
theDoc.Read(Server.MapPath("../mypics/HyperX.pdf"));
theDoc.Rect.Inset(200, 200);
// Render document with AntiAliasImages = true (default)
theDoc.Rendering.Save(Server.MapPath("RenderingAntiAliasImagesTrue.png"));
// Render document with AntiAliasImages = false
theDoc.Rendering.AntiAliasImages = false;
// Save the image
theDoc.Rendering.Save(Server.MapPath("RenderingAntiAliasImagesFalse.png"));
theDoc.Clear();
[Visual Basic]
Dim theDoc As Doc = New Doc()
theDoc.Read(Server.MapPath("../mypics/HyperX.pdf"))
theDoc.Rect.Inset(200, 200)
' Render document with AntiAliasImages = true (default)
theDoc.Rendering.Save(Server.MapPath("RenderingAntiAliasImagesTrue.png"))
' Render document with AntiAliasImages = false
theDoc.Rendering.AntiAliasImages = False
' Save the image
theDoc.Rendering.Save(Server.MapPath("RenderingAntiAliasImagesFalse.png"))
theDoc.Clear()
RenderingAntiAliasImagesTrue.png
RenderingAntiAliasImagesFalse.png
|