[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Export.Image.Page.Settings

Settings Class

Represents settings for ImageRenderingExtension.

Inheritance
Settings
Implements
Namespace: GrapeCity.ActiveReports.Export.Image.Page
Assembly: MESCIUS.ActiveReports.Export.Image.dll
Syntax
[TypeConverter(typeof())]
public class Settings : ISettings

Constructors

Name Description
Settings()

Initializes a new instance of the Settings class.

Settings(NameValueCollection, bool)

Initializes new instance of Settings class with specified settings.

Properties

Name Description
Compression

Sets or returns a value which specifies the compression to be used when exporting.

Dither
DpiX

Adjust the horizontal resolution of rendered images. The default value is 200.

DpiY

Adjust the vertical resolution of rendered images. The default value is 200.

EndPage

The default value of 0 in this property renders all of the report pages. Otherwise, set this value to the number of the last page to render. Please note that if the StartPage property is set to 0, all of the pages of the report render. In order to use the EndPage property, you must set the StartPage property to a valid non-zero number.

ImageType

Select the type of image to which you want to render the report. Supported types are BMP, GIF, JPEG, TIFF, and PNG.

PageHeight

Set the value in inches to use for the height of the image. The format is an integer or decimal with "in" as the suffix, for example "11in" for 11 inches. The value set in this property overrides the report's settings.

PageWidth

Set the value in inches to use for the width of the image. The format is an integer or decimal with "in" as the suffix, for example "8in" for 8 inches. The value set in this property overrides the report's settings.

Pagination

By default, each page of a report is rendered as a separate image. Set this value to False to render the entire report as a single image.

PrintLayoutMode

Select how to lay out the pages of the report in the image.

Quality

Gets or sets the quality of the report to be rendered as an image.

SizeToFit

By default, rendered report pages are not resized to fit within the selected image size. Set this value to True to resize the report pages.

StartPage

The default value of zero in this and the EndPage properties render all of the report pages to images. Otherwise, set this value to the number of the first page to render.

WatermarkAngle

Specify the degree of angle for the watermark text on the image. Valid values range from 0 to 359, where 0 is horizontal, left to right.

WatermarkColor

Select a color for the watermark text on the image. The default value for the watermark color is gray, but you can select any Web, System, or Custom color.

WatermarkFontName

Set the font to use for the watermark to any valid System.Drawing.Font.

WatermarkFontSize

Sets the font size for the watermark

WatermarkFontStyle

Specifies the font style.

WatermarkTitle

Sets text (i.e. CONFIDENTIAL) to use as the watermark on the image.

Methods

Name Description
ApplySettings(NameValueCollection)

Apply settings for the rendering extension.

GetSettings()

Returns settings of ImageRenderingExtension.

Operators

Name Description
implicit operator NameValueCollection(Settings)

Performs an implicit conversion from Settings to NameValueCollection.