com.spire.presentation
Class VideoData

java.lang.Object
  extended by com.spire.presentation.VideoData

public class VideoData
extends java.lang.Object

Represents an image embedded into a presentation.


Constructor Summary
VideoData(PptxPartEntry part, PptxFile _package)
           
VideoData(PptxPartEntry part, PptxFile _package, com.spire.ms.System.Drawing.Image image, com.spire.ms.System.Drawing.Rectangle imageFrame)
           
 
Method Summary
 java.lang.String getContentType()
          Gets a MIME type of an video, encoded in .
 byte[] getData()
          Gets the copy of an video's data.
 void saveToFile(java.lang.String fileName)
          Save video to disk.
 

Constructor Detail

VideoData

public VideoData(PptxPartEntry part,
                 PptxFile _package)

VideoData

public VideoData(PptxPartEntry part,
                 PptxFile _package,
                 com.spire.ms.System.Drawing.Image image,
                 com.spire.ms.System.Drawing.Rectangle imageFrame)
Method Detail

getContentType

public java.lang.String getContentType()
Gets a MIME type of an video, encoded in . Read-only .

Returns:

getData

public byte[] getData()
Gets the copy of an video's data. Read-only [].

Returns:

saveToFile

public void saveToFile(java.lang.String fileName)
Save video to disk.

Parameters:
fileName -
Throws:
java.lang.Exception