ActiveReports 9
Settings Class Members
Properties  Methods 

The following tables list the members exposed by Settings.

Public Constructors
 NameDescription
Public ConstructorSettings ConstructorOverloaded. Initializes a new instance of the Settings class.  
Top
Public Properties
 NameDescription
Public PropertyColorDepthGets or sets the number of bits per pixel for the image to be drawn. The default value is 8 bits per pixel, but it is possible to select 1, 4, 16, 24, 32 or 64 bits.
 
Public PropertyCompressionSets or returns a value which specifies the compression to be used when exporting.  
Public PropertyDitherSpecifies whether the image should be dithered when saving to a black and white output format, like CCITT3 or Rle. This property has no effect if the CompressionScheme property is set to Lzw or None(represents color output).  
Public PropertyDpiX

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

 
Public PropertyDpiYAdjust the vertical resolution of rendered images.  
Public PropertyEndPageThe 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.  
Public PropertyImageTypeSelect the type of image to which you want to render the report. Supported types are BMP, EMF, GIF, JPEG, TIFF, and PNG.  
Public PropertyMarginBottomSet the value in inches to use for the bottom margin of the image. The format is an integer or decimal with "in" as the suffix, for example "1in" for 1 inch. By default, no margins are used. The value set in this property overrides the report's settings.  
Public PropertyMarginLeftSet the value in inches to use for the left margin of the image. The format is an integer or decimal with "in" as the suffix, for example "1in" for 1 inch. By default, no margins are used. The value set in this property overrides the report's settings.  
Public PropertyMarginRightSet the value in inches to use for the right margin of the image. The format is an integer or decimal with "in" as the suffix, for example "1in" for 1 inch. By default, no margins are used. The value set in this property overrides the report's settings.  
Public PropertyMarginTopSet the value in inches to use for the top margin of the image. The format is an integer or decimal with "in" as the suffix, for example "1in" for 1 inch. By default, no margins are used. The value set in this property overrides the report's settings.  
Public PropertyPageHeightSet 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.  
Public PropertyPageWidthSet 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.  
Public PropertyPaginationBy 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.  
Public PropertyPrintLayoutModeSelect how to lay out the pages of the report in the image.
  • OneLogicalPageOnSinglePhysicalPage
  • TwoLogicalPagesOnSinglePhysicalPage
  • FourLogicalPagesOnSinglePhysicalPage
  • EightLogicalPagesOnSinglePhysicalPage
  • BookletMode (lays the pages out for booklet printing)
 
Public PropertyQualityGets or sets the quality of the report to be rendered as an image.  
Public PropertySizeToFitBy default, rendered report pages are not resized to fit within the selected image size. Set this value to True to resize the report pages.  
Public PropertyStartPageThe 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.  
Public PropertyWatermarkAngleSpecify 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.  
Public PropertyWatermarkColorSelect 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.  
Public PropertyWatermarkFontSet the font to use for the watermark to any valid System.Drawing.Font.  
Public PropertyWatermarkTitleSets text (i.e. CONFIDENTIAL) to use as the watermark on the image.  
Top
Public Methods
 NameDescription
Public MethodApplySettingsApplies any settings passed in the NameValueCollection settings parameters.  
Public MethodGetSettingsReturns settings of ImageRenderingExtension.  
Top
See Also

Reference

Settings Class
GrapeCity.ActiveReports.Export.Image.Page Namespace

 

 


Copyright © 2016 GrapeCity, inc. All rights reserved

Support Forum