Package com._1c.g5.v8.dt.md.pictures
Interface IPictureService
-
- All Known Implementing Classes:
AbsPictureService
public interface IPictureService
An interface forPicture
manipulation with custom logic.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PictureDef
createPicture()
Creates a newPictureDef
successorvoid
deleteContent(Picture picture)
Deletes content of the given pictureString
getPictureName(Picture picture)
Returns name for the given picturePictureDef
setContent(Picture picture, String fileName, Point transparent)
Sets content to the given picture.
-
-
-
Method Detail
-
createPicture
PictureDef createPicture()
Creates a newPictureDef
successor- Returns:
- a new
PictureDef
-
setContent
PictureDef setContent(Picture picture, String fileName, Point transparent)
Sets content to the given picture. Content is taken from file with the givenfileName
.- Parameters:
picture
- is thePicture
fileName
- is the file nametransparent
- is the transparent point for picture- Returns:
-
getPictureName
String getPictureName(Picture picture)
Returns name for the given picture- Parameters:
picture
- is the picture- Returns:
- the picture name
-
deleteContent
void deleteContent(Picture picture)
Deletes content of the given picture- Parameters:
picture
- is the picture
-
-