This issue is reproduced at our end. Output.zip (27.1 KB) HTML lacks the drawing. We have logged this scenario in our internal issue tracking system with ID VIEWERNET-2690 for further investigation and resolution. You’ll be notified as there’s any update.
We have an update on VIEWERNET-2690. In order to get rid of this issue please enable rendering comments ViewOptions.RenderComments = true;. As the comment rendering is disabled by default. In the case of PDF documents comment (annotation) could be anything (field, drawing, etc.). We’ll further investigate this issue and resolve it in some upcoming release of the API. But for now when rendering PDF documents, enable comments rendering as it shown the following code snippet:
using (Viewer viewer = new Viewer("TestDrawingPdfW.Pdf"))
{
HtmlViewOptions viewOptions = HtmlViewOptions.ForEmbeddedResources();
viewOptions.RenderComments = true;
viewer.View(viewOptions);
}
Have a look at the output.png (184.0 KB) generated by setting RenderComments to true.
The issues you have found earlier (filed as VIEWERNET-2690) have been fixed in this update. This message was posted using Bugs notification tool by atirtahir3