Gets the URL needed to generate a thumbnail of a PDF document.
Namespace:
TallComponents.Web.PdfAssembly: TallComponents.Web.PdfViewer (in TallComponents.Web.PdfViewer.dll) Version: 1.0.6.5
Syntax
| C# |
|---|
public static string GetThumbnailUrl( string baseUrl, string storageKey, double scale, int pageIndex ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function GetThumbnailUrl ( _ baseUrl As String, _ storageKey As String, _ scale As Double, _ pageIndex As Integer _ ) As String |
| Visual C++ |
|---|
public: static String^ GetThumbnailUrl( String^ baseUrl, String^ storageKey, double scale, int pageIndex ) |
Parameters
- baseUrl
- Type: System..::.String
A URL associated with a PdfToImageHandler handler.
- storageKey
- Type: System..::.String
The storage key.
- scale
- Type: System..::.Double
The scale as a fraction; 0.1 equals a scale of 10%. Values <= 0 and >0.25 are ignored.
- pageIndex
- Type: System..::.Int32
The 0-based index of the page.