Visual Basic (Declaration) | |
---|---|
Public Property InitialPath As String |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public string InitialPath {get; set;} |
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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family