public static MediaClipData Create(bool indirect, XObjectForm data) { MediaClipData data1 = MediaClipData.Create(indirect); data1.MediaData = data; return(data1); }
public static MediaClipData Create(bool indirect, FileSpec filespec) { MediaClipData data1 = MediaClipData.Create(indirect); data1.ExtMediaData = filespec; return(data1); }
public static MediaClipData Create(PDFStream str, Rect rect) { MediaClipData data1 = MediaClipData.Create(true); data1.MediaData = XObjectForm.Create(str, rect); return(data1); }
public static MediaClipData Create(XObjectForm data) { MediaClipData data1 = MediaClipData.Create(true); data1.MediaData = data; return(data1); }
public static MediaClipData Create(FileSpec filespec) { MediaClipData data1 = MediaClipData.Create(true); data1.ExtMediaData = filespec; return(data1); }
private static MediaClipData Create(bool indirect) { PDFDict dict1 = Library.CreateDict(); dict1["S"] = Library.CreateName("MCD"); MediaClipData data1 = (Resources.Get(dict1, typeof(MediaClipData)) as MediaClipData); if (indirect) { Library.CreateIndirect(dict1); } return(data1); }