FileSpecification SetPath Function. Set the path to the file for the specified platform. ABCpdf .NET PDF Library.

ABCpdf .net

 
   

Set the path to the file for the specified platform

 

   
Syntax  

[C#]
string SetPath(string platform, string path)

[Visual Basic]
Function SetPath(platform As String, path As String) As String

 

   

Params
 
Name Description
platform The platform name.
path 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 set the path for the specified platform.

Setting to null will remove the path.

 

   

Example
 

None.