ImageOrPrintOptions Class
Contents
[
Hide
]ImageOrPrintOptions class
Allows to specify options when rendering worksheet to images, printing worksheet or rendering chart to image.
type ImageOrPrintOptions struct {
ptr unsafe.Pointer
}
Constructors
Method | Description |
---|---|
NewImageOrPrintOptions | Default constructor. |
Methods
Method | Description |
---|---|
IsNull | Checks whether the implementation object is nullptr. |
SetPrintWithStatusDialog | If PrintWithStatusDialog = true , there will be a dialog that shows current print status.else no such dialog will show. |
GetPrintWithStatusDialog | If PrintWithStatusDialog = true , there will be a dialog that shows current print status.else no such dialog will show. |
GetHorizontalResolution | Gets or sets the horizontal resolution for generated images, in dots per inch. |
SetHorizontalResolution | Gets or sets the horizontal resolution for generated images, in dots per inch. |
GetVerticalResolution | Gets or sets the vertical resolution for generated images, in dots per inch. |
SetVerticalResolution | Gets or sets the vertical resolution for generated images, in dots per inch. |
GetTiffCompression | Gets or sets the type of compression to apply only when saving pages to the |
SetTiffCompression | Gets or sets the type of compression to apply only when saving pages to the |
GetTiffColorDepth | Gets or sets bit depth to apply only when saving pages to the |
SetTiffColorDepth | Gets or sets bit depth to apply only when saving pages to the |
GetTiffBinarizationMethod | Gets or sets method used while converting images to 1 bpp formatwhen |
SetTiffBinarizationMethod | Gets or sets method used while converting images to 1 bpp formatwhen |
GetPrintingPage | Indicates which pages will not be printed. |
SetPrintingPage | Indicates which pages will not be printed. |
GetQuality | Gets or sets a value determining the quality of the generated imagesto apply only when saving pages to the |
SetQuality | Gets or sets a value determining the quality of the generated imagesto apply only when saving pages to the |
GetImageType | Gets or sets the format of the generated images.default value: PNG. |
SetImageType | Gets or sets the format of the generated images.default value: PNG. |
GetOnePagePerSheet | If OnePagePerSheet is true , all content of one sheet will output to only one page in result.The paper size of pagesetup will be invalid, and the other settings of pagesetupwill still take effect. |
SetOnePagePerSheet | If OnePagePerSheet is true , all content of one sheet will output to only one page in result.The paper size of pagesetup will be invalid, and the other settings of pagesetupwill still take effect. |
GetAllColumnsInOnePagePerSheet | If AllColumnsInOnePagePerSheet is true , all column content of one sheet will output to only one page in result.The width of paper size of pagesetup will be invalid, and the other settings of pagesetupwill still take effect. |
SetAllColumnsInOnePagePerSheet | If AllColumnsInOnePagePerSheet is true , all column content of one sheet will output to only one page in result.The width of paper size of pagesetup will be invalid, and the other settings of pagesetupwill still take effect. |
GetDrawObjectEventHandler | Implements this interface to get DrawObject and Bound when rendering. |
SetDrawObjectEventHandler | Implements this interface to get DrawObject and Bound when rendering. |
GetEmbededImageNameInSvg | Indicate the filename of embedded image in svg.This should be full path with directory like “c:\xpsEmbedded” |
SetEmbededImageNameInSvg | Indicate the filename of embedded image in svg.This should be full path with directory like “c:\xpsEmbedded” |
GetSVGFitToViewPort | if this property is true, the generated svg will fit to view port. |
SetSVGFitToViewPort | if this property is true, the generated svg will fit to view port. |
GetOnlyArea | If this property is true , one Area will be output, and no scale will take effect. |
SetOnlyArea | If this property is true , one Area will be output, and no scale will take effect. |
GetTransparent | Indicates if the background of generated image should be transparent. |
SetTransparent | Indicates if the background of generated image should be transparent. |
SetIsFontSubstitutionCharGranularity | Indicates whether to only substitute the font of character when the cell font is not compatibility for it. |
IsFontSubstitutionCharGranularity | Indicates whether to only substitute the font of character when the cell font is not compatibility for it. |
SetPageIndex | Gets or sets the 0-based index of the first page to save. |
GetPageIndex | Gets or sets the 0-based index of the first page to save. |
SetPageCount | Gets or sets the number of pages to save. |
GetPageCount | Gets or sets the number of pages to save. |
SetDesiredSize | Sets desired width and height of image. |
IsOptimized | Indicates whether to optimize the output elements. |
SetIsOptimized | Indicates whether to optimize the output elements. |
GetDefaultFont | When characters in the Excel are Unicode and not be set with correct font in cell style,They may appear as block in pdf,image.Set the DefaultFont such as MingLiu or MS Gothic to show these characters.If this property is not set, Aspose.Cells will use system default font to show these unicode characters. |
SetDefaultFont | When characters in the Excel are Unicode and not be set with correct font in cell style,They may appear as block in pdf,image.Set the DefaultFont such as MingLiu or MS Gothic to show these characters.If this property is not set, Aspose.Cells will use system default font to show these unicode characters. |
GetCheckWorkbookDefaultFont | When characters in the Excel are Unicode and not be set with correct font in cell style,They may appear as block in pdf,image.Set this to true to try to use workbook’s default font to show these characters first. |
SetCheckWorkbookDefaultFont | When characters in the Excel are Unicode and not be set with correct font in cell style,They may appear as block in pdf,image.Set this to true to try to use workbook’s default font to show these characters first. |
GetOutputBlankPageWhenNothingToPrint | Indicates whether to output a blank page when there is nothing to print. |
SetOutputBlankPageWhenNothingToPrint | Indicates whether to output a blank page when there is nothing to print. |
GetGridlineType | Gets or sets gridline type. |
SetGridlineType | Gets or sets gridline type. |
GetTextCrossType | Gets or sets displaying text type when the text width is larger than cell width. |
SetTextCrossType | Gets or sets displaying text type when the text width is larger than cell width. |
GetDefaultEditLanguage | Gets or sets default edit language. |
SetDefaultEditLanguage | Gets or sets default edit language. |
GetSheetSet | Gets or sets the sheets to render. Default is all visible sheets in the workbook: |
SetSheetSet | Gets or sets the sheets to render. Default is all visible sheets in the workbook: |
GetEmfRenderSetting | Setting for rendering Emf metafile. |
SetEmfRenderSetting | Setting for rendering Emf metafile. |