Click or drag to resize

PdfFileSpecificationName Property

Gets or sets the file specification string of the form described in 7.11.2, "File Specification Strings", or (if the IsUrl is ) a uniform resource locator, as described in 7.11.5, "URL Specifications".

Namespace: SautinSoft.Pdf
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2024.6.18
Syntax
public string Name { get; set; }

Property Value

String
The file specification string, or (if the IsUrl is ) a uniform resource locator.
Exceptions
ExceptionCondition
ArgumentNullExceptionValue is or Empty.
Remarks

SautinSoft.Pdf tries to get this value from the following entries:

  • On Mac OS system: UF, F, Mac, DOS, Unix.
  • On UNIX system: UF, F, Unix, DOS, Mac.
  • On DOS and all other systems: UF, F, DOS, Mac, Unix.

UF entry is decoded using either PDFDoc or UTF16BE encoding and all other entries (F, DOS, Mac, Unix) are decoded using Byte encoding.

SautinSoft.Pdf sets the following entries:

  • UF entry encoded either with PDFDoc or UTF16BE encoding for cross-platform and cross-language compatibility.
  • F entry encoded with ASCII encoding for backwards compatibility.
  • DOS, Mac and Unix entries are removed because they are obsolescent and should not be used by conforming writers.
See Also