Bildobjekt

Aus AquaSoft Wiki
Zur Navigation springenZur Suche springen
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Das Bildobjekt ist vom Typ IPicture und leitet von ISlideShowObject ab.

 IPicture inherits from ISlideShowObject
   function Filename: IFilename;
   function Sound: ISound;
   function Content: IPictureContent;
   property Properties: TPictureProperties read GetProperties write SetProperties;
 end; 


 TPictureProperties = record
   Width, Height: Integer;
   Orientation: TImageOrientation;
 end;

Methoden

  • Objekt Erzeugung

 function CreatePictureObject: IPicture;

  • Ein Bildobjekt benötigt einen Dateinamen zu dem gespeicherten Bild. Dieser ist als IFilename im Bild gespeichert:

 function Filename: IFilename;


  • Ein Bildobjekt kann eine Soundspur enthalten. Der Datentyp dieser ist ein ISound

 function Sound: ISound;


  • Zugriff auf Inhalt Bildobjekt (also das Bild selbst, ohne Metadaten) vom Typ IPictureContent

 function Content: IPictureContent;