Package com._1c.g5.v8.dt.md.pictures
Interface IPictureService
- All Known Implementing Classes:
AbsPictureService,PictureService
public interface IPictureService
An interface for
Picture manipulation with custom logic.-
Method Summary
Modifier and TypeMethodDescriptionCreates a newPictureDefsuccessorvoiddeleteContent(Picture picture) Deletes content of the given picturegetPictureName(Picture picture) Returns name for the given picturesetContent(Picture picture, String fileName, Point transparent) Sets content to the given picture.
-
Method Details
-
createPicture
PictureDef createPicture()Creates a newPictureDefsuccessor- Returns:
- a new
PictureDef
-
setContent
Sets content to the given picture. Content is taken from file with the givenfileName.- Parameters:
picture- is thePicturefileName- is the file nametransparent- is the transparent point for picture- Returns:
-
getPictureName
Returns name for the given picture- Parameters:
picture- is the picture- Returns:
- the picture name
-
deleteContent
Deletes content of the given picture- Parameters:
picture- is the picture
-