FoxitPDFSDKforWeb
v10.0.0
Foxit PDF SDK for Web
|
Represents a graphics object within the PDF page. More...
Public Member Functions | |
Promise< void > | setProperties (properties:Partial< TextGraphicObjectProperties|PathGraphicObjectProperties|ImageGraphicObjectProperties|ShadingGraphicObjectProperties >) |
Set properties for the graphic object. More... | |
Public Attributes | |
string | type |
The type of the graphic object. It can be one of the following: 'text', 'path', 'image', 'shading'. More... | |
Represents a graphics object within the PDF page.
This interface allows you to manipulate and modify various types of graphic objects such as text, paths, images and shadings objects in a PDF document.
Promise<void> PageGraphicsObject::setProperties | ( | properties:Partial< TextGraphicObjectProperties|PathGraphicObjectProperties|ImageGraphicObjectProperties|ShadingGraphicObjectProperties > | ) |
Set properties for the graphic object.
This method allows you to update the properties of the graphic object. The specific properties that can be set depend on the type of the graphic object (text, path, image, shading).
properties | Partial<TextGraphicObjectProperties|PathGraphicObjectProperties|ImageGraphicObjectProperties|ShadingGraphicObjectProperties> - |
Implemented in ShadingGraphicObject, ImageGraphicObject, PathGraphicObject, and TextGraphicObject.
string PageGraphicsObject::type |
The type of the graphic object. It can be one of the following: 'text', 'path', 'image', 'shading'.