Package com._1c.g5.v8.dt.md.pictures
Interface IPictureService
-
- All Known Implementing Classes:
AbsPictureService
public interface IPictureServiceAn interface forPicturemanipulation with custom logic.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PictureDefcreatePicture()Creates a newPictureDefsuccessorvoiddeleteContent(Picture picture)Deletes content of the given pictureStringgetPictureName(Picture picture)Returns name for the given picturePictureDefsetContent(Picture picture, String fileName, Point transparent)Sets content to the given picture.
-
-
-
Method Detail
-
createPicture
PictureDef createPicture()
Creates a newPictureDefsuccessor- 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 thePicturefileName- 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
-
-