
components.PowerPortalsPro.Demo.Client.Customizations.Pages.Viewers.FileViewerDemoPage.description
components.PowerPortalsPro.Demo.Client.Customizations.Pages.Viewers.FileViewerDemoPage.image-section-description

components.PowerPortalsPro.Demo.Client.Customizations.Pages.Viewers.FileViewerDemoPage.markdown-section-description
The FileViewer picks a renderer per file kind.
ImageViewer.var source = new FileSource.Bytes(bytes) { FileName = "readme.md" };
# Hello FileViewer
The **FileViewer** picks a renderer per file kind.
- Images flow through `ImageViewer`.
- Markdown picks up Markdig.
- Text/code is coloured with highlight.js.
- Zip archives expand to a tree.
```csharp
var source = new FileSource.Bytes(bytes) { FileName = "readme.md" };
```
components.PowerPortalsPro.Demo.Client.Customizations.Pages.Viewers.FileViewerDemoPage.text-section-description
{
"name": "ImageViewer",
"features": ["rotate", "zoom", "flip", "crop"],
"version": "1.0"
}components.PowerPortalsPro.Demo.Client.Customizations.Pages.Viewers.FileViewerDemoPage.unsupported-section-description
components.PowerPortalsPro.Demo.Client.Customizations.Components.Documentation.ApiDocumentation.name | components.PowerPortalsPro.Demo.Client.Customizations.Components.Documentation.ApiDocumentation.type | components.PowerPortalsPro.Demo.Client.Customizations.Components.Documentation.ApiDocumentation.default | components.PowerPortalsPro.Demo.Client.Customizations.Components.Documentation.ApiDocumentation.description |
|---|---|---|---|
Downloadable | bool | True | |
Fallback | RenderFragment? | ||
FileName | string? | ||
MaxHeight | string | 60vh | |
Source | FileSource? |
DownloadableFallbackFileNameMaxHeightSource