FoxitPDFSDKforWeb  v10.0.0
Foxit PDF SDK for Web
ImageGraphicObject Interface Reference

Represents a image object within the Page Editor. More...

Inheritance diagram for ImageGraphicObject:
PageGraphicsObject

Public Member Functions

Promise< void > setProperties (properties:Partial< ImageGraphicObjectProperties >)
 Set properties for the image object. More...
 

Public Attributes

string type = 'image'
 The type of the graphic object, which is always 'image' for image 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...
 

Detailed Description

Represents a image object within the Page Editor.

This interface extends PageGraphicsObject and allows you to manipulate and modify image objects within a PDF document.

Since
9.2.0

Member Function Documentation

◆ setProperties()

Promise<void> ImageGraphicObject::setProperties ( properties:Partial< ImageGraphicObjectProperties )

Set properties for the image object.

Use this method to update the properties of the path object. The properties that can be set are defined by ImageGraphicObjectProperties.

Parameters
propertiesPartial<ImageGraphicObjectProperties> - An object containing the updated properties for the image object.
Returns
Promise<void> - A promise that resolves once the properties are successfully set.
Since
9.2.0

Implements PageGraphicsObject.

Member Data Documentation

◆ type

string ImageGraphicObject::type = 'image'

The type of the graphic object, which is always 'image' for image objects.

Since
9.2.0

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