public string GetImageFileName( int index, RtfVisualImageFormat rtfVisualImageFormat ) { string imageFileName = imageAdapter.ResolveFileName( index, rtfVisualImageFormat ); if ( !string.IsNullOrEmpty( imagesPath ) ) { imageFileName = Path.Combine( imagesPath, imageFileName ); } return imageFileName; }