'Declaration
Public Function GetLastPath() As String
public string GetLastPath()
public function GetLastPath(): String;
public function GetLastPath() : String;
public: string* GetLastPath();
public:
String^ GetLastPath();
Be aware that both AddEmbeddedImageAnnotInteractive(String,Boolean,Color,Single,Single) and %AddEmbeddedImageAnnotInteractive(string, bool, int, float, float)% methods overwrite the last used path with their ImagePath parameter.
'Declaration
Public Function GetLastPath() As String
public string GetLastPath()
public function GetLastPath(): String;
public function GetLastPath() : String;
public: string* GetLastPath();
public:
String^ GetLastPath();
Be aware that this attribut is overwritten using both AddEmbeddedImageAnnotInteractive(String,Boolean,Color,Single,Single) and %AddEmbeddedImageAnnotInteractive(string, bool, int, float, float)% methods.
'We assume that the GdViewer1 control has been properly integrated. Dim status As GdPictureStatus = GdViewer1.DisplayFromFile("") If status = GdPictureStatus.OK Then MessageBox.Show("The loaded file path is: " + GdViewer1.GetLastPath(), "GdViewer.GetLastPath") Else MessageBox.Show("The file can't be loaded. Status: " + status.ToString(), "GdViewer.GetLastPath") End If
//We assume that the GdViewer1 control has been properly integrated. GdPictureStatus status = GdViewer1.DisplayFromFile(""); if (status == GdPictureStatus.OK) MessageBox.Show("The loaded file path is: " + GdViewer1.GetLastPath(), "GdViewer.GetLastPath"); else MessageBox.Show("The file can't be loaded. Status: " + status.ToString(), "GdViewer.GetLastPath");
GdViewer Class
GdViewer Members
DisplayFromFile(String) Method
SaveDocumentToJPEG(String,Int32) Method
SaveDocumentToPDF(String) Method
SaveDocumentToTIFF(String,TiffCompression) Method
AddEmbeddedImageAnnotInteractive(String,Boolean,Color,Single,Single) Method
AddEmbeddedImageAnnotInteractive(string, bool, int, float, float)