Intersoft ClientUI Documentation
CanUserOpenDocument Property (FlowDocumentViewerBase)



Gets or sets a value that indicates whether users can open a FlowDocument in the runtime.
Syntax
<CategoryAttribute("Common Properties")>
Public Property CanUserOpenDocument As Boolean
Dim instance As FlowDocumentViewerBase
Dim value As Boolean
 
instance.CanUserOpenDocument = value
 
value = instance.CanUserOpenDocument
[CategoryAttribute("Common Properties")]
public bool CanUserOpenDocument {get; set;}
[CategoryAttribute("Common Properties")]
public:
property bool CanUserOpenDocument {
   bool get();
   void set (    bool value);
}

Property Value

Type: Boolean

The default is False.

Remarks

You can allow users to open a FlowDocument from local computer at runtime. You must display the Open command button by enabling CanUserOpenDocument property. To open a local FlowDocument, users click on the Open command button and select a document from the Open File dialog box such as shown in the following screenshot.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

FlowDocumentViewerBase Class
FlowDocumentViewerBase Members

Send Feedback