| FoxitPDFSDKforWeb v11.0.6 Archives Foxit PDF SDK for Web

Public Member Functions | List of all members
CreateAnnotationService Interface Reference
PDFViewCtrl » creation

This is a service interface that defines the function of creating Annotation, and classes that create specific Annotations should inherit it. More...

Inheritance diagram for CreateAnnotationService:

## Public Member Functions
void | prepare (pageRender:PDFPageRender)
| This method accepts a pageRender parameter and performs initialization. It should only be executed once. More...
Public Member Functions inherited from Disposable
| addDestroyHook (...hooks)
| Add a function to destroyHooks list, which will be called during destroy. More...
| destroy ()
| ownsTo (owner)
| Establishes an ownership relationship where this instance will be destroyed when the owner is destroyed. Additionally, the owner will be automatically removed from the destroyHooks list when this instance is destroyed. More...

## Detailed Description

This is a service interface that defines the function of creating Annotation, and classes that create specific Annotations should inherit it.

Since
  8.1.0

## Member Function Documentation

## ◆ prepare()

void CreateAnnotationService::prepare | ( | pageRender:PDFPageRender |  | ) |

This method accepts a pageRender parameter and performs initialization. It should only be executed once.

Parameters

  pageRender | PDFPageRender -

Since
  8.1.0

Returns
  void

Implemented in CreateFreeTextCalloutService.

@2025 Foxit Software Incorporated. All rights reserved.