FileSpecification GetPath Function. Get the path to the file for the specified platform. ABCpdf .NET PDF Library.

ABCpdf .net

 
   

Get the path to the file for the specified platform

 

   
Syntax  

[C#]
string GetPath(string platform)

[Visual Basic]
Function GetPath(platform As String) As String

 

   

Params
 
Name Description
platform The platform name.
return The file path.

 

   

Notes
 

This method is provided for low level control over obsolete entries contained in old PDF documents.

So in general you should be using the Rationalize method and the Uri property rather than this method.

A FileSpecification may hold multiple paths to a file.

Each path is specific to a platform such as Mac, Windows or Unix. For further details see the Platform property.

This function allolws you to retrieve the path for the specified platform.

If there is no matching path then null will be returned.

 

   

Example
 

None.