Type Default Read Only Description

[Visual Basic]
Nullable(Of Long)
n/a No Gets or sets the frame number of the source frame being/to be processed.




The value of this property when the Operation.ProcessingObject event is generated depends on the operation.

The event handler should change this value when a processing sequence other than the default is desired. Set this value to null to end the processing of the current set of frames.




See the SwfImportOperation.Import method.


Here we import the frame at 3.5 seconds.


using (Doc doc = new Doc()) {   using (SwfImportOperation operation = new SwfImportOperation()) {     operation.Doc = doc;     operation.ContentAlign = ContentAlign.Top;     operation.ContentScaleMode = ContentScaleMode.ShowAll;     operation.ProcessingObject += delegate (object sender, ProcessingObjectEventArgs e) {       if (e.Info.SourceType == ProcessingSourceType.MultiFrameImage && e.Info.FrameNumber.HasValue)         e.Info.FrameNumber = 1 + (long)(e.Info.FrameRate.Value * 3.5);     };     operation.Import(Server.MapPath("ABCpdf.swf"));   }   doc.Save(Server.MapPath("swf.pdf")); }