Skip to content

Instantly share code, notes, and snippets.

@atirtahirgroupdocs
Created November 24, 2015 10:20
Show Gist options
  • Save atirtahirgroupdocs/52058a0a890f5f235fa8 to your computer and use it in GitHub Desktop.
Save atirtahirgroupdocs/52058a0a890f5f235fa8 to your computer and use it in GitHub Desktop.
' For complete examples and data files, please go to https://github.com/groupdocsassembly/GroupDocs_Assembly_NET
''' <summary>
''' Takes source file name as argument.
''' </summary>
''' <param name="sourceFileName">Source file name</param>
''' <returns>Returns explicit path by combining source folder path and source file name.</returns>
Public Shared Function GetSourceDocument(sourceFileName As String) As String
Return Path.Combine(Path.GetFullPath(sourceFolderPath), sourceFileName)
End Function
''' <summary>
''' Takes output file name as argument.
''' </summary>
''' <param name="outputFileName">output file name</param>
''' <returns>Returns explicit path by combining destination folder path and output file name.</returns>
Public Shared Function SetDestinationDocument(outputFileName As String) As String
Return Path.Combine(Path.GetFullPath(destinationFolderPath), outputFileName)
End Function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment