Visual Basic (Declaration) | |
---|---|
Public Property InitialPath As String |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public string InitialPath {get; set;} |
Managed Extensions for C++ | |
---|---|
public: __property string* get_InitialPath(); public: __property void set_InitialPath( string* value ); |
Return Value
The path to the PDF runtime files, or an empty string, if the default location is to be used.Set this property to override the default path of the PDF initialization directories. This allows the user to chose which PDF runtime library his or her application loads at runtime.
The default PDF initialization directories path is stored in the system registry key:
"HKEY_LOCAL_MACHINE\SOFTWARE\LEAD Technologies, Inc.\Pdf\GS_LIB"
If you set this property to an empty string (length = 0), then the engine will look for the PDF initialization files in the default PDF initialization directories path (specified by the registry key).
The new path must both exist prior to setting this property and contain the Lib, Font, and Resource directories for the PDF Filter. If either of the above is not true, the engine fails and returns an error when the user attempts to load a PDF file.
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family