.NET Framework Class Library

DocumentViewer.LoadDocument Method (String, String)

<< Click to Display Table of Contents >>

Navigation:  Gnostice Document Studio .NET > Reference Documentation > API Reference > Gnostice.Controls.Xamarin Namespace > DocumentViewer Class > DocumentViewer Methods > LoadDocument Method  >

.NET Framework Class Library

DocumentViewer.LoadDocument Method (String, String)

Loads a document from specified file with specified password and then displays it in the viewer.

Namespace: Gnostice.Controls.Xamarin

Assembly:  Gnostice.Controls.Xamarin (in Gnostice.Controls.Xamarin.dll)

Syntax

Visual Basic

Public Sub LoadDocument ( _
 fileName As String, _
 Optional password As String = "" _
)

C#

public void LoadDocument(
 string fileName,
 string password = ""
)

Visual C++

public:
virtual void LoadDocument(
 StringfileName,
 Stringpassword = L""
sealed

Parameters

fileName

Type: System.String

Pathname of the file from which the document needs to be loaded.

password (Optional)

Type: System.String

Password with which the document needs to be decrypted.

Implements

IDocumentOperation.LoadDocument(String, String)

See Also

DocumentViewer Class

DocumentViewer Members

LoadDocument Overload

Gnostice.Controls.Xamarin Namespace