# HPDFLayoutManager

## Functions

| `HPDFLayoutManager`
| `~HPDFLayoutManager`
void | `SetTemplateName`
void | `Set3DFieldName`
void | `AddMiscModification`
void | `AddTextModification`
void | `AddImageModification`
vlist_s * | `GetFieldModificationList`
wchar_t * | `GetTemplateName`
wchar_t * | `Get3DFieldName`

## Detailed Description

class `HPDFLayoutManager`

  The HPDFLayoutManager class allows for modifications of an existing PDF template

  Public Functions

  inline `HPDFLayoutManager`()

    Constructs an HPDFLayoutManager object.

  inline `~HPDFLayoutManager`()

    HPDFLayoutManager destructor.

  inline void `SetTemplateName`(wchar_t const *name)

    This method sets the filename of the template to modify

    Parameters: | name – Fully qualified path of PDF template

  inline void `Set3DFieldName`(wchar_t const *name)

    This method sets the name of the PDF field which serves as the 3D container

    Parameters: | name – Name of PDF field

  inline void `AddMiscModification`(wchar_t const *name, wchar_t *javascript = 0, HPDFLayoutVisibility visibility = HUnchanged)

    This method allows the user to attach javascript to a field and change its visibility

    Parameters: | name – Name of PDF form field javascript – Javascript code to attach to this PDF form field visibility – New visibility setting for this PDF form field.

  inline void `AddTextModification`(wchar_t const *name, wchar_t const *text)

    This method allows the user to change the text of a PDF form field

    Parameters: | name – Name of PDF form field text – New text of PDF form field isText – Specifies if PDF form field to modify is text field or button

  inline void `AddImageModification`(wchar_t const *name, wchar_t const *imagename, HPDFLayoutImageType imagetype, int imagewidth, int imageheight)

    This method allows the user to change the image of a PDF form field

    Parameters: | name – Name of PDF form field imagename – Full path to the image imagetype – Type of image imagewidth – Width of Image imageheight – Height of Image

  inline vlist_s *`GetFieldModificationList`()

    Returns: | A pointer to the list of field modifications.

  inline wchar_t *`GetTemplateName`()

    Returns: | A pointer to the template name

  inline wchar_t *`Get3DFieldName`()

    Returns: | A pointer to the PDF field name for the 3d object.

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your Docs generative AI assistant. Ask me anything about HOOPS Visualize 3DF or choose a sample question below to start a conversation:

What is HOOPS Visualize 3DF?
What are the latest release notes for HOOPS Visualize 3DF?
How do I start evaluating HOOPS Visualize 3DF?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...