The following example shows the effect that this parameter has
on PDF rendering.
using (Doc doc = new Doc()) {
doc.Read(Server.MapPath("../mypics/Annotations.pdf"));
doc.Rect.Pin = XRect.Corner.TopLeft;
doc.Rect.Height = 300;
// Render document with DrawAnnotations (default)
doc.Rendering.Save(Server.MapPath("RenderingDrawAnnotationsTrue.png"));
// Render document without DrawAnnotations
doc.Rendering.DrawAnnotations = false;
doc.Rendering.Save(Server.MapPath("RenderingDrawAnnotationsFalse.png"));
}
Using doc As New Doc()
doc.Read(Server.MapPath("../mypics/Annotations.pdf"))
doc.Rect.Pin = XRect.Corner.TopLeft
doc.Rect.Height = 300
' Render document with DrawAnnotations (default)
doc.Rendering.Save(Server.MapPath("RenderingDrawAnnotationsTrue.png"))
' Render document without DrawAnnotations
doc.Rendering.DrawAnnotations = False
doc.Rendering.Save(Server.MapPath("RenderingDrawAnnotationsFalse.png"))
End Using

RenderingDrawAnnotationsTrue.png

RenderingDrawAnnotationsFalse.png
|