Best api for PDF creation

Hi
I am having to write a java app which will create pdf documents. Can anyone recommend any java-pdf apis I should use?
Many thanks

http://www.lowagie.com/iText/
OR
http://xmlgraphics.apache.org/fop/0.20.5/embedding.html

Similar Messages

  • InCopy is best for PDF creation...what do you think?

    I use Apple pages 09 export to create PDF documents with Adobe Acrobat Pro 9 (mac).  I use these with my clients, and since I am a communicaitons consultant, I want them to stand out.  I have found pages does not do the entire job...I must add things to the PDF in acrobat (such as flash) and pages has bugs (links don't show up in left column of links in adober reader).  So, I am becoming disolutioned with pages to pdf.
    I am very technically oriented and an expert computer user, so I have been thinking about moving to a more roubust word processor to make PDF documents.  I understand Adobe has such word processor (InCopy I think).  I will reserach it, but I am looking for advice from users.  What is the best way to go?
    Does InCopy allow everything to be done in InCopy (and not a 2 stage process of adding things in acrobat).  Are there alternatives to InCopy that I might look at?  Is there anything better for PDF creation?  Print is not a big issue for me, just PDF/electronic documents.
    thanks
    bob

    InCopy doesn't do what you want. InCopy is designed for to create content that will eventually be placed into ID. I could be wrong, but I'd ask in the Incopy forum, not here:
    http://forums.adobe.com/community/incopy/incopy_general
    To some extent I think you would be better off with InDesign. It is not really a WP, but you can use Pages, TextEdit, Nisus, Mellel or any other WP as a Word Processor and then just place the content into InDesign. Can you use InCopy to place the content into InDesign, sure, but I really think of InCopy as an integrated workflow product for group content creation.

  • Best practice for confirmation creation?

    Dear Experts,
    I would like to have your opinion on best practices for confirmation creation in classic scenario. Whether most organizations  prefer to create confirmation in SRM or ECC? One advantage of confirmation creation in SRM is that you can avail different workflow scenario, while ECC MM does not support any workflow or release strategy for confirmation/goods receipt.
    Your input on it will be highly appreciated.
    Regards,
    Ranjan

    Hi Ranjan,
    As far as best practice for confirmation creation goes , it should be decided by who is the goods recipient , what access the goods recipient have and  and what type of material it is , direct or indirect ..
    Ideally  for most of Indirect procurement where requestor is creating a cart for himself or his department and would be reciving the good/ service himself , he/she should do the confirmation in SRM.
    In case of direct material definitely GR  need to be done in the ECC.
    Thanks
    Iftekhar Alam

  • Best Practice for PDF print forms based on SAP standard

    Hi,
    I have copied the SAP standard PDF form F_D_INT_SCALE_00 to a Z form, and am using it in conjunction with the standard print program RFDZIS01_PDF.  However I need to output some additional fields that are not supplied by the print program / interface (for example Customer VAT number).
    What is the best practice for achieving this?  As far as I can see the only way is to take a copy of the standard print program and modify it to select the extra data, and modify the interface.  I never like taking copies of standard programs though for obvious reasons.
    If I had this requirement with a smartform it would be a simple case of embedding ABAP code into the Z smartform and leaving the print program alone, but unfortunately there is no provision for the non-PDF version of the Interest Letter to be sent by email.
    Thanks in advance,
    Vindaloo

    Thanks for your reply Robert.
    However I think you are referring to Smartforms when you mention Code Initialization and Global Data declarations.  I need to know the best way to modify copies of standard Adobe Print Forms.
    Regards,
    Vindaloo

  • Which is the best API for creating restful web services.

    Hi guys,
    I have tried a lot of apis to create a restful web service. But none of them has perfect documentation or examples. Which is the best one that has good support and future.

    "Best" automatically implies opinions and speculation; one I personally believe has a bright future is Jersey. Jersey is the reference implementation (RI) for [JSR-311|http://jcp.org/en/jsr/detail?id=311] ("The Java API for RESTful Web Services" or JAX-RS).

  • What is the best api for xml parsing?

    I think that api comes with j2se is not that good for xml parsing. is there any open source api which is simple,easy and powerful,

    JArsenic wrote:
    Hey I feel XMLBeans would be a optimal solution for XML parsing as I provides you a whole set of methods to parse your XML tags as Java Objects. And you may download XMLBeans @ http://xmlbeans.apache.org/.
    What advantage would that have over JAXB? It already can do all that and is built into Java itself, so you don't need a separate download.
    Also: mapping XML to Java beans is a very specific way of handling XML and is definitely not "the best" in all situations.
    For similar quest you may reach @ [somesite]Please, no advertisement here, read the Code of Conduct that you agreed on singing up with this page.

  • Need API for user creation

    Dear All,
    I need to use bulk user creation through API. Please advice which API i use to resolve this issue.
    Thanks
    Rehan

    I need to use bulk user creation through API. Please advice which API i use to resolve this issue.FND_USER_PKG.CREATEUSER
    FND_USER_PKG
    https://forums.oracle.com/forums/search.jspa?threadID=&q=FND_USER_PKG&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    PACKAGE: APPS.FND_USER_PKG
    http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=FND_USER_PKG&c_owner=APPS&c_type=PACKAGE
    Thanks,
    Hussein

  • Best Practices for Vendor creation

    Can anyone that has the Purchasing dept. (one who is able to issue PO's) also has the ability to create vendors MK01(local) XK01(central). I'm trying to understand the risks with one who can issue PO's also can setup vendors.
    Thanks in advance!
    Best, Michael

    Hi,
    only being used as temporaryFor temporary tables, lookup "CREATE GLOBAL TEMPORARY TABLE" in TFM
    As for me a table without a PK suffers from an error in it's design. PKs are one of Merise's foundations.
    Sure there are exceptions, but if more than x% of your tables have no PK, there's a problem.
    Regards,
    Yoann.

  • Best option for PDFs with limited interactivity

    We've recently published a fully interactive folio into a multi-folio app for a client using DPS, but they've asked if some of their weekly/fortnightly print publications could be added to their app as folios without interactivity.
    In other words, these are "specials" publications which have a very short shelf-life and don't require any interactivity (other than perhaps tappable links to their ordering websites etc).
    Can PDFs be turned into folios through InDesign/DPS, and published to an existing app so that my customer's clients can view all my client's publications this way?
    We would continue to publish interactive folios for the app, which have a longer shelf-life (say quarterly or yearly), but these quick turnaround "specials" publications don't have enough lead time (and we don't have enough staffing resources) to produce useful overlays and interactivity for each of them.
    Cheers,
    Eoghan.

    Thanks Andrea,
    I haven't been able to find any links to information about the "trick" of reading a PDF directly into an app on the link you provided. Maybe it's hidden, or not applicable any more.
    Out of curiosity, if we created a PDF with some limited links to websites etc, then read that into an app, will those links still work?
    Ideally, our customer wants some folios in their app to be interactive, and some to be basic pdf-style publications, but all of them housed within the one app.
    Cheers,
    Eoghan.

  • Setup reports for pdf creation with company logo and printing without

    Hi,
    we want to have 2 different report-layouts.
    The first one is just for printing on company paper. So it doesn't need a logo.
    The second one is for exporting to PDF file. So it needs a logo.
    How can I realise it in SAP BO 2007 without changing the standard layout everytime?

    Meike,
    If sending out pdf's vs printed doc's depends on BP or user, you can play with setting up the default layout for specific users or BP's, otherwise you need to change the default one all the time.
    Regards,
    Nat

  • API for Item Creation (MTL_SYSTEM_ITEMS_B)

    Hi All,
    Do you know any API that can do the creation/modification of items in MTL_SYSTEM_ITEMS_B?
    Cheers,
    Roderick

    Roderick,
    If you are licensed, you can try ego_item_pub.process_item. If not you can use a group API called inv_item_grp.create_item or update_item.
    Thanks
    Nagamohan

  • Need help with API for contract creation

    Hi,
    Using OKS_IBINT_PUB.IB_INTERFACE API, how do I populate the Known As (COGNOMEN) column of okc_k_headers_tl? The API does not provide any parameter for this. I can resort to a direct update to the table, but this API does not return any contract information(ID) based on which I can safely update the record.
    TIA,
    Alka.

    Hi,
    You got to define the Document Types in the System Setup form of OKE at Setup --> System Setup, then you could eneter type of a Contarct.
    Master Agreement is the Basic Ordering Agreement, Master Purchase Agreement or Blanket Agreement.
    Item master Org and OU - pls refr user guide and implemebntation guide at http://download.oracle.com/docs/cd/B25284_01/current/html/docset.html
    Thanks,
    Kiran

  • Best practice for index creation

    Hello,
    I am working on Oracle 10g and AIX.
    I have one table with 9 columns.
    The sql queries on this table are such that out of 10 column it always having 5 column in the where clause.
    So ,we have concatenated index on these 5 columns.
    Other columns 4 , can come in to where clause in any order and number , like of only 2 columns can be using in where clause or 3 columns
    or non of these columns.
    Is this better to create index on all 4 columns , it should be concatenated index or individual index on all 4 columns.
    i do not have all sql statement , becasue as per developers there are 10 modules accessing this tables and each may have 100 sql statements on this table..
    Any idea...what i can do in this scenario ..create concatenated index on all 4 columns or individual index or no index..

    youre coming at it wrong. you could do more harm then good taking that approach, you need to isolate the individual sql statements hitting that table. system trace, tkprof, statspack, awr are your friends here
    Once you identify the queries, get yourself a dev version of the table and start playing the indexes, get tkprof and explain plans for the queries. In general, only the predicates in the sql select are candidates for index usage.
    if you have 5 cols and any one of the cols could be used in combination or individual, maybe start creating 5 different indexes and then with the combo indexes. but only after you tkprof / explain plan them before and after, youre just guessing otherwise.

  • Best API for video camera app

    Hi. Which Directive/Class will be the better choice if your app is mainly a video camera app. I saw about 3 different Classes to capture videos. I'm currently using Microsoft.Devices/CaptureDevice to capture video. It looks limited to me because found
    out I can't pause==>resume a recording. And what about Zooming? Can you tell me which way I want to go if I want to make sure my camera functionality is powerful? Which directive/class and if possible some code example on how to use it and maybe how to
    zoom, focus ect. Thank you very much

    I'm now using AudioVideoCaptureDevice to capture video and I can do that but the app crash when I try to set the source for the capture device in InitializeVideoRecorder(). Can you take a look and tell me what I'm doing wrong?
    Here's some code snippet:
    // Viewfinder for capturing video.
    private VideoBrush videoRecorderBrush;
    // Source and device for capturing video.
    private CaptureSource _cs;
    private VideoCaptureDevice _cd;
    private AudioVideoCaptureDevice vcDevice;
    double w, h;
    // File details for storing the recording.
    private IsolatedStorageFileStream isoVideoFile;
    private FileSink fileSink;
    private string isoVideoFileName = "iClips_Video.mp4";
    private StorageFile sfVideoFile;
    // For managing button and application state.
    private enum ButtonState { Initialized, Stopped, Ready, Recording, Playback, Paused, NoChange, CameraNotSupported };
    private ButtonState currentAppState;
    // Constructor
    public MainPage()
    try
    InitializeComponent();
    //setup recording
    // Prepare ApplicationBar and buttons.
    PhoneAppBar = (ApplicationBar)ApplicationBar;
    PhoneAppBar.IsVisible = true;
    StartRecording = ((ApplicationBarIconButton)ApplicationBar.Buttons[0]);
    StopPlaybackRecording = ((ApplicationBarIconButton)ApplicationBar.Buttons[1]);
    StartPlayback = ((ApplicationBarIconButton)ApplicationBar.Buttons[2]);
    PausePlayback = ((ApplicationBarIconButton)ApplicationBar.Buttons[3]);
    SetScreenResolution();
    //initialize the camera task
    cameraCaptureTask = new CameraCaptureTask();
    cameraCaptureTask.Completed += new EventHandler<PhotoResult>(cameraCaptureTask_Completed);
    if (isFilePresent("username") && isFilePresent("Password"))
    if (isFilePresent("IsProfilePhotoOnServer"))
    connectToSocket();
    else
    SignUpProfilePhoto();
    else
    SignIn();
    catch (Exception ex)
    this.Dispatcher.BeginInvoke(delegate()
    MessageBox.Show("Constructor Error:\n"+ ex.Message);
    protected override void OnNavigatedTo(NavigationEventArgs e)
    base.OnNavigatedTo(e);
    // Initialize the video recorder.
    InitializeVideoRecorder();
    //prepare shutter hot keys
    CameraButtons.ShutterKeyHalfPressed += OnButtonHalfPress;
    CameraButtons.ShutterKeyPressed += OnButtonFullPress;
    CameraButtons.ShutterKeyReleased += OnButtonRelease;
    protected override void OnNavigatedFrom(NavigationEventArgs e)
    // Dispose of camera and media objects.
    DisposeVideoPlayer();
    DisposeVideoRecorder();
    base.OnNavigatedFrom(e);
    CameraButtons.ShutterKeyHalfPressed -= OnButtonHalfPress;
    CameraButtons.ShutterKeyPressed -= OnButtonFullPress;
    CameraButtons.ShutterKeyReleased -= OnButtonRelease;
    protected override void OnOrientationChanged(OrientationChangedEventArgs e)
    if (vcDevice != null)
    if (e.Orientation == PageOrientation.LandscapeLeft)
    txtDebug.Text = "LandscapeLeft";
    videoRecorderBrush.RelativeTransform =
    new CompositeTransform() { CenterX = 0.5, CenterY = 0.5, Rotation = 90 };
    //rotate logo
    if (logo != null)
    RotateTransform rt = new RotateTransform();
    rt.Angle = 90;
    //default rotation is around top left corner of the control,
    //but you sometimes want to rotate around the center of the control
    //to do that, you need to set the RenderTransFormOrigin
    //of the item you're going to rotate
    //I did not test this approach, maybe You're going to need to use actual coordinates
    //so this bit is for information purposes only
    logo.RenderTransformOrigin = new Point(0.5, 0.5);
    logo.RenderTransform = rt;
    //rotate sign in link
    if (MyGrid != null)
    RotateTransform rt = new RotateTransform();
    rt.Angle = 90;
    //default rotation is around top left corner of the control,
    //but you sometimes want to rotate around the center of the control
    //to do that, you need to set the RenderTransFormOrigin
    //of the item you're going to rotate
    //I did not test this approach, maybe You're going to need to use actual coordinates
    //so this bit is for information purposes only
    MyGrid.RenderTransformOrigin = new Point(0.5, 0.5);
    MyGrid.RenderTransform = rt;
    if (e.Orientation == PageOrientation.PortraitUp)
    txtDebug.Text = "PortraitUp";
    videoRecorderBrush.RelativeTransform =
    new CompositeTransform() { CenterX = 0.5, CenterY = 0.5, Rotation = 90 };
    //rotate logo
    if (logo != null)
    RotateTransform rt = new RotateTransform();
    rt.Angle = 0;
    //default rotation is around top left corner of the control,
    //but you sometimes want to rotate around the center of the control
    //to do that, you need to set the RenderTransFormOrigin
    //of the item you're going to rotate
    //I did not test this approach, maybe You're going to need to use actual coordinates
    //so this bit is for information purposes only
    logo.RenderTransformOrigin = new Point(0.5, 0.5);
    logo.RenderTransform = rt;
    //rotate sign in link
    if (MyGrid != null)
    RotateTransform rt = new RotateTransform();
    rt.Angle = 0;
    //default rotation is around top left corner of the control,
    //but you sometimes want to rotate around the center of the control
    //to do that, you need to set the RenderTransFormOrigin
    //of the item you're going to rotate
    //I did not test this approach, maybe You're going to need to use actual coordinates
    //so this bit is for information purposes only
    MyGrid.RenderTransformOrigin = new Point(0.5, 0.5);
    MyGrid.RenderTransform = rt;
    if (e.Orientation == PageOrientation.LandscapeRight)
    this.Dispatcher.BeginInvoke(delegate()
    txtDebug.Text = "LandscapeRight";
    // Rotate for LandscapeRight orientation.
    //videoRecorderBrush.RelativeTransform =
    //new CompositeTransform() { CenterX = 0.5, CenterY = 0.5, Rotation = 180 };
    //rotate logo
    if (logo != null)
    RotateTransform rt = new RotateTransform();
    rt.Angle = -90;
    //default rotation is around top left corner of the control,
    //but you sometimes want to rotate around the center of the control
    //to do that, you need to set the RenderTransFormOrigin
    //of the item you're going to rotate
    //I did not test this approach, maybe You're going to need to use actual coordinates
    //so this bit is for information purposes only
    logo.RenderTransformOrigin = new Point(0.5, 0.5);
    logo.RenderTransform = rt;
    //rotate MyGrid
    if (MyGrid != null)
    RotateTransform rt = new RotateTransform();
    rt.Angle = -90;
    //default rotation is around top left corner of the control,
    //but you sometimes want to rotate around the center of the control
    //to do that, you need to set the RenderTransFormOrigin
    //of the item you're going to rotate
    //I did not test this approach, maybe You're going to need to use actual coordinates
    //so this bit is for information purposes only
    MyGrid.RenderTransformOrigin = new Point(0.5, 0.5);
    MyGrid.RenderTransform = rt;
    if (e.Orientation == PageOrientation.PortraitDown)
    this.Dispatcher.BeginInvoke(delegate()
    txtDebug.Text = "PortraitDown";
    videoRecorderBrush.RelativeTransform =
    new CompositeTransform() { CenterX = 0.5, CenterY = 0.5, Rotation = 270 };
    // Hardware shutter button Hot-Actions.
    private void OnButtonHalfPress(object sender, EventArgs e)
    //toggle between video- play and pause
    try
    this.Dispatcher.BeginInvoke(delegate()
    if (StartPlayback.IsEnabled)
    PlayVideo();
    if (PausePlayback.IsEnabled)
    PauseVideo();
    catch (Exception focusError)
    // Cannot focus when a capture is in progress.
    this.Dispatcher.BeginInvoke(delegate()
    txtDebug.Text = focusError.Message;
    private void OnButtonFullPress(object sender, EventArgs e)
    // Focus when a capture is not in progress.
    try
    this.Dispatcher.BeginInvoke(delegate()
    if (vcDevice != null)
    //stopVideoPlayer if it's playing back
    if (currentAppState == ButtonState.Playback || currentAppState == ButtonState.Paused)
    DisposeVideoPlayer();
    StartVideoPreview();
    if (StartRecording.IsEnabled)
    StartVideoRecording();
    else
    StopVideoRecording();
    catch (Exception focusError)
    // Cannot focus when a capture is in progress.
    this.Dispatcher.BeginInvoke(delegate()
    txtDebug.Text = focusError.Message;
    private void OnButtonRelease(object sender, EventArgs e)
    try
    this.Dispatcher.BeginInvoke(delegate()
    catch (Exception focusError)
    // Cannot focus when a capture is in progress.
    this.Dispatcher.BeginInvoke(delegate()
    txtDebug.Text = focusError.Message;
    // Update the buttons and text on the UI thread based on app state.
    private void UpdateUI(ButtonState currentButtonState, string statusMessage)
    // Run code on the UI thread.
    Dispatcher.BeginInvoke(delegate
    switch (currentButtonState)
    // When the camera is not supported by the phone.
    case ButtonState.CameraNotSupported:
    StartRecording.IsEnabled = false;
    StopPlaybackRecording.IsEnabled = false;
    StartPlayback.IsEnabled = false;
    PausePlayback.IsEnabled = false;
    break;
    // First launch of the application, so no video is available.
    case ButtonState.Initialized:
    StartRecording.IsEnabled = true;
    StopPlaybackRecording.IsEnabled = false;
    StartPlayback.IsEnabled = false;
    PausePlayback.IsEnabled = false;
    break;
    // Ready to record, so video is available for viewing.
    case ButtonState.Ready:
    StartRecording.IsEnabled = true;
    StopPlaybackRecording.IsEnabled = false;
    StartPlayback.IsEnabled = true;
    PausePlayback.IsEnabled = false;
    break;
    // Video recording is in progress.
    case ButtonState.Recording:
    StartRecording.IsEnabled = false;
    StopPlaybackRecording.IsEnabled = true;
    StartPlayback.IsEnabled = false;
    PausePlayback.IsEnabled = false;
    break;
    // Video playback is in progress.
    case ButtonState.Playback:
    StartRecording.IsEnabled = false;
    StopPlaybackRecording.IsEnabled = true;
    StartPlayback.IsEnabled = false;
    PausePlayback.IsEnabled = true;
    break;
    // Video playback has been paused.
    case ButtonState.Paused:
    StartRecording.IsEnabled = false;
    StopPlaybackRecording.IsEnabled = true;
    StartPlayback.IsEnabled = true;
    PausePlayback.IsEnabled = false;
    break;
    default:
    break;
    // Display a message.
    txtDebug.Text = statusMessage;
    // Note the current application state.
    currentAppState = currentButtonState;
    public async void InitializeVideoRecorder()
    try
    if (_cs == null)
    _cs = new CaptureSource();
    fileSink = new FileSink();
    _cd = CaptureDeviceConfiguration.GetDefaultVideoCaptureDevice();
    CameraSensorLocation location = CameraSensorLocation.Back;
    var captureResolutions =
    AudioVideoCaptureDevice.GetAvailableCaptureResolutions(location);
    vcDevice = await AudioVideoCaptureDevice.OpenAsync(location, captureResolutions[0]);
    vcDevice.RecordingFailed += OnCaptureFailed;
    vcDevice.VideoEncodingFormat = CameraCaptureVideoFormat.H264;
    vcDevice.AudioEncodingFormat = CameraCaptureAudioFormat.Aac;
    // Initialize the camera if it exists on the phone.
    if (vcDevice != null)
    //initialize fileSink
    await InitializeFileSink();
    // Create the VideoBrush for the viewfinder.
    videoRecorderBrush = new VideoBrush();
    videoRecorderBrush.SetSource(_cs);
    // Display the viewfinder image on the rectangle.
    viewfinderRectangle.Fill = videoRecorderBrush;
    _cs.Start();
    // Set the button state and the message.
    UpdateUI(ButtonState.Initialized, "Tap record to start recording...");
    else
    // Disable buttons when the camera is not supported by the phone.
    UpdateUI(ButtonState.CameraNotSupported, "A camera is not supported on this phone.");
    catch(Exception ex)
    MessageBox.Show("InitializeVideoRecorder Error:\n" + ex.Message);
    public async Task InitializeFileSink()
    StorageFolder isoStore = ApplicationData.Current.LocalFolder;
    sfVideoFile = await isoStore.CreateFileAsync(
    isoVideoFileName,
    CreationCollisionOption.ReplaceExisting);
    private void OnCaptureFailed(AudioVideoCaptureDevice sender, CaptureFailedEventArgs args)
    MessageBox.Show(args.ToString());
    private void OnCaptureSourceFailed(object sender, ExceptionRoutedEventArgs e)
    MessageBox.Show(e.ErrorException.Message.ToString());
    // Set the recording state: display the video on the viewfinder.
    private void StartVideoPreview()
    try
    // Display the video on the viewfinder.
    if (_cs.VideoCaptureDevice != null
    && _cs.State == CaptureState.Stopped)
    // Add captureSource to videoBrush.
    videoRecorderBrush.SetSource(_cs);
    // Add videoBrush to the visual tree.
    viewfinderRectangle.Fill = videoRecorderBrush;
    _cs.Start();
    // Set the button states and the message.
    UpdateUI(ButtonState.Ready, "Ready to record.");
    //Create optional Resolutions
    // If preview fails, display an error.
    catch (Exception e)
    this.Dispatcher.BeginInvoke(delegate()
    txtDebug.Text = "ERROR: " + e.Message.ToString();
    // Set recording state: start recording.
    private void StartVideoRecording()
    try
    // Connect fileSink to captureSource.
    if (_cs.VideoCaptureDevice != null
    && _cs.State == CaptureState.Started)
    _cs.Stop();
    // Connect the input and output of fileSink.
    fileSink.CaptureSource = _cs;
    fileSink.IsolatedStorageFileName = isoVideoFileName;
    // Begin recording.
    if (_cs.VideoCaptureDevice != null
    && _cs.State == CaptureState.Stopped)
    _cs.Start();
    // Set the button states and the message.
    UpdateUI(ButtonState.Recording, "Recording...");
    StartTimer();
    // If recording fails, display an error.
    catch (Exception e)
    this.Dispatcher.BeginInvoke(delegate()
    txtDebug.Text = "ERROR: " + e.Message.ToString();
    // Set the recording state: stop recording.
    private void StopVideoRecording()
    try
    // Stop recording.
    if (_cs.VideoCaptureDevice != null
    && _cs.State == CaptureState.Started)
    _cs.Stop();
    // Disconnect fileSink.
    fileSink.CaptureSource = null;
    fileSink.IsolatedStorageFileName = null;
    // Set the button states and the message.
    UpdateUI(ButtonState.Stopped, "Preparing viewfinder...");
    StopTimer();
    StartVideoPreview();
    // If stop fails, display an error.
    catch (Exception e)
    this.Dispatcher.BeginInvoke(delegate()
    txtDebug.Text = "ERROR: " + e.Message.ToString();
    // Start the video recording.
    private void StartRecording_Click(object sender, EventArgs e)
    // Avoid duplicate taps.
    StartRecording.IsEnabled = false;
    StartVideoRecording();
    private void DisposeVideoRecorder()
    if (_cs != null)
    // Stop captureSource if it is running.
    if (_cs.VideoCaptureDevice != null
    && _cs.State == CaptureState.Started)
    _cs.Stop();
    // Remove the event handler for captureSource.
    _cs.CaptureFailed -= OnCaptureFailed;
    // Remove the video recording objects.
    _cs = null;
    vcDevice = null;
    fileSink = null;
    videoRecorderBrush = null;
    Thanks in advance.

  • Best Practices for Table creation

    Is it a good practice to have a primary key and/or unique key identifier for every tables created for an application even if for some reason the table is only being used as temporary or interface table? Thanks.

    Hi,
    only being used as temporaryFor temporary tables, lookup "CREATE GLOBAL TEMPORARY TABLE" in TFM
    As for me a table without a PK suffers from an error in it's design. PKs are one of Merise's foundations.
    Sure there are exceptions, but if more than x% of your tables have no PK, there's a problem.
    Regards,
    Yoann.

Maybe you are looking for

  • Can not post MIRO due to production order archived

    Hi, We have created production order and with production order as account assignment we have created purchase requisition. We have converted purchase requisition to purchase order and goods receipt posted. Now production order is archived (TECO done,

  • REALLY Mysterious Gray Lines on Every Export (pictures)

    I'm working on a video that contains a white background, and the client's background is also pure white. Every export I give him has a gray vertical line showing on the left and right borders of the video. We've narrowed down every possible cause, an

  • Picking list-default printer

    Hello Gurus, The issue is related to Picking List(EK00 condition type). Could you please provide me the path or Tcode for assigning the Default Printer to the Shipping Point. Regards, Kishore

  • How to create links above interactive content?

    I want to have a movie or a slide show, with a texthyperlink above it while the movie running, have tried with combinations of superoverlays, as a button and as a hyperlink. Is there a workaround or have i missed something?

  • Nokia N8 email issue

    Hello have set up my bt internet email account on my new Nokia N8 but dont know how to do the settings so when I delete an email it doesnt delete it in the actual email box ?  Cant find the settings anywhere and for that matter - is there any way of