←Select platform

HideFormFields Property

Summary
Gets or sets a value indicating whether to hide the form fields when loading a PDF page as a raster image or an SVG.
Syntax
C#
C++/CLI
Java
Python
public bool HideFormFields {get; set;} 
public boolean getHideFormFields() 
public void setHideFormFields(boolean value) 
public: 
property bool HideFormFields { 
   bool get(); 
   void set (    bool ); 
} 
HideFormFields # get and set (CodecsPdfLoadOptions) 

Property Value

Value Description
true To hide the form fields. The default value is true.
false To show the form fields.
Remarks

HideAnnotations, HideFormFields and HideDigitalSignatures control showing/hiding the annotations/form fields/digital signatures, respectively, when loading a PDF as a raster image or SVG.

The default value of these properties is true. However, when any of these properties are set to false, if any of these objects are loaded as a raster image or SVG (using Load or LoadSvg), these objects are rendered and 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 a practice, refer to the source code in the Document Viewer, Annotations, PDF Document, PDF Forms or PDF Digital Signature demos in the LEADTOOLS installation.

Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.