Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.8.30
|
Leadtools.Codecs Namespace > CodecsPdfLoadOptions Class : HideFormFields Property |
public bool HideFormFields {get; set;}
'Declaration
Public Property HideFormFields As Boolean
'Usage
Dim instance As CodecsPdfLoadOptions Dim value As Boolean instance.HideFormFields = value value = instance.HideFormFields
public bool HideFormFields {get; set;}
public boolean getHideFormFields() public void setHideFormFields(boolean value)
<br/>get_HideFormFields();<br/>set_HideFormFields(value);<br/>Object.defineProperty('HideFormFields');
HideAnnotations, HideFormFields and HideDigitalSignatures control showing/hiding the annotations/form fields/digital signature respectively when loading a PDF as a raster image or SVG.
The default value of these properties is true. Therefore, if you load a page containing any of these objects as a raster image or SVG (using Load or LoadSvg), the objects will be rendered and are considered part of the page. This default behavior ensures that viewing applications will display the PDF page exactly as is.
For more document-oriented viewing applications, it may be desirable to hide these objects when loading the page. For example, an annotations-capable application can set HideAnnotations to true and then use other parts of LEADTOOLS to load the annotations and overlay them on the page for editing. Otherwise, when the user moves an object in the application, the page will show the pre-rendered version underneath.
Similarly, a PDF forms application can hide the form's fields by setting HideFormFields to true and then loading the form's fields and overlaying them using other parts of LEADTOOLS.
For an example, refer to the source code in the Document Viewer, Annotations, PDF Document, PDF Forms or PDF Digital Signature demos in your LEADTOOLS installation.