Class ImageHelper
- Namespace
- MigraDoc.DocumentObjectModel
- Assembly
- MigraDoc.DocumentObjectModel.dll
Deals with image file names, searches along the image path, checks if images exist etc.
public static class ImageHelper
- Inheritance
-
objectImageHelper
Methods
- 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.
- GetImageName(string, string, string)
Gets the first existing image from the subfolders.
- InSubfolder(string, string, string, string)
Gets a value indicating whether the filename given in the referenceFilename exists in the subfolders.