Method ExtractPageNumber
- Namespace
- MigraDoc.DocumentObjectModel
- Assembly
- MigraDoc.DocumentObjectModel.dll
ExtractPageNumber(string, out int)
Extracts the page number if the path has the form 'MyFile.pdf#123' and returns the actual path without the number sign and the following digits.
public static string ExtractPageNumber(string path, out int pageNumber)
Parameters
pathstringpageNumberint
Returns
- string