Compartilhar via


CameraCaptureDialog Class

3/29/2010

Gets or sets the still image or video image file name.

Namespace: Microsoft.WindowsMobile.Forms
Assembly: Microsoft.WindowsMobile.Forms (in microsoft.windowsmobile.forms.dll)

Syntax

public class CameraCaptureDialog : Component
'Declaration
Public Class CameraCaptureDialog
    Inherits Component

Remarks

Still images on Windows Mobile devices conform to the JPEG standard. As a result, file names for still images must end in *.jpg. There is no restriction for naming video files, other than the file format must be supported by Windows Media Player Mobile. Since different video encoders can use differing naming conventions, it is important that the file name has the correct extension. To be safe, you can simply use NULL when naming Video files. If DefaultFileName is NULL, then the file name specified in Picture & Video > Camera Options > Type filename prefix: is used. If the file already exists, it is overwritten. The combination of InitialDirectory and DefaultFileName must not exceed 256 characters.

Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
     System.ComponentModel.Component
      Microsoft.WindowsMobile.Forms.CameraCaptureDialog

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.

See Also

Reference

CameraCaptureDialog Members
Microsoft.WindowsMobile.Forms Namespace