Skip to content

Update image-device-information-settings.md #963

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,27 @@ published: True
position: 1
previous_url: /device-information-settings-image
---

<style>
table th:first-of-type {
width: 15%;
width: 15%;
}
table th:nth-of-type(2) {
width: 10%;
width: 10%;
}
table th:nth-of-type(3) {
width: 75%;
width: 75%;
}
</style>

# Device Information Settings for the Image rendering formats
# Device Information Settings for the Image Rendering Formats

The following table lists the device information settings for rendering in __IMAGE__, __IMAGEPrintPreview__ and __IMAGEPrint__ formats.
The following table lists the device information settings for rendering in __IMAGE__, __IMAGEPrintPreview__ and __IMAGEPrint__ formats.

## Available Image Device Information settings

> The names of the properties in Device Information Settings are __Case-Sensitive__.

|__Name__|__Type__|__Description__|
| ------ | ------ | ------ |
|OutputFormat|String|Defines the output format of the produced image. Supported formats are: __BMP__, __EMF__, __EMFPLUS__, __GIF__, __JPEG__, __PNG__, or __TIFF__. The default value for __IMAGE__ rendering extension is __TIFF__. The default value for __IMAGEPrint__ and __IMAGEPrintPreview__ rendering extensions is __EMF__.|
Expand All @@ -40,10 +43,10 @@ For a detailed example of how to set up the settings for a rendering extension,

## Example

The following example demonstrates how to configure the settings for __IMAGE__, __IMAGEPrintPreview__ and __IMAGEPrint__ formats.
The following example demonstrates how to configure the settings for __IMAGE__, __IMAGEPrintPreview__ and __IMAGEPrint__ formats.

XML-based configuration file:

````XML
<configuration>
Expand Down Expand Up @@ -77,60 +80,58 @@ XML-based configuration file:
````

JSON-based configuration file:
````JavaScript

````JSON
"telerikReporting": {
"extensions": [
{
"name": "IMAGE",
"parameters": [
{
"Name": "OutputFormat",
"Value": "TIFF"
},
{
"Name": "TiffCompression",
"Value": "RLE"
}
]
},
{
"name": "IMAGEPrintPreview",
"parameters": [
{
"Name": "OutputFormat",
"Value": "JOEG"
}
]
},
{
"name": "IMAGEPrint",
"parameters": [
{
"Name": "OutputFormat",
"Value": "PNG"
},
{
"Name": "TextRenderingHint",
"Value": "AntiAliasGridFit"
},
{
"Name": "DpiX",
"Value": "1200"
},
{
"Name": "DpiY",
"Value": "1200"
},
]
}
]
"extensions": [
{
"name": "IMAGE",
"parameters": [
{
"Name": "OutputFormat",
"Value": "TIFF"
},
{
"Name": "TiffCompression",
"Value": "RLE"
}
]
},
{
"name": "IMAGEPrintPreview",
"parameters": [
{
"Name": "OutputFormat",
"Value": "JOEG"
}
]
},
{
"name": "IMAGEPrint",
"parameters": [
{
"Name": "OutputFormat",
"Value": "PNG"
},
{
"Name": "TextRenderingHint",
"Value": "AntiAliasGridFit"
},
{
"Name": "DpiX",
"Value": "1200"
},
{
"Name": "DpiY",
"Value": "1200"
},
]
}
]
}
````


## See Also

* [Device Information Settings]({%slug telerikreporting/using-reports-in-applications/export-and-configure/configure-the-export-formats/overview%})

* [Export Formats]({%slug telerikreporting/using-reports-in-applications/export-and-configure/export-formats%})