FoxitPDFSDKforWeb v11.0.1
Foxit PDF SDK for Web
CreateAnnotationService Interface Reference

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:
Disposable CreateFreeTextCalloutService CreateFreeTextCalloutService

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
pageRenderPDFPageRender -
Since
8.1.0
Returns
void

Implemented in CreateFreeTextCalloutService.

Foxit Software Corporation Logo
@2025 Foxit Software Incorporated. All rights reserved.