FoxitPDFSDKforWeb
v10.0.0
Foxit PDF SDK for Web
|
Represents a text object within the Page Editor. More...
Public Member Functions | |
Promise< void > | setProperties (properties:Partial< TextGraphicObjectProperties >) |
Set properties for the text object. More... | |
Public Attributes | |
string | type = 'text' |
The type of the graphic object, which is always 'text' for text objects. More... | |
Public Attributes inherited from PageGraphicsObject | |
string | type |
The type of the graphic object. It can be one of the following: 'text', 'path', 'image', 'shading'. More... | |
Represents a text object within the Page Editor.
This interface extends PageGraphicsObject and allows you to manipulate and modify text objects within a PDF document.
Promise<void> TextGraphicObject::setProperties | ( | properties:Partial< TextGraphicObjectProperties > | ) |
Set properties for the text object.
Use this method to update the properties of the text object. The properties that can be set are defined by TextGraphicObjectProperties.
properties | Partial<TextGraphicObjectProperties> - An object containing the updated properties for the text object. |
Implements PageGraphicsObject.
string TextGraphicObject::type = 'text' |
The type of the graphic object, which is always 'text' for text objects.