ImageOrPrintOptions Class

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

MethodDescription
NewImageOrPrintOptionsDefault constructor.

Methods

MethodDescription
IsNullChecks whether the implementation object is nullptr.
SetPrintWithStatusDialogIf PrintWithStatusDialog = true , there will be a dialog that shows current print status.else no such dialog will show.
GetPrintWithStatusDialogIf PrintWithStatusDialog = true , there will be a dialog that shows current print status.else no such dialog will show.
GetHorizontalResolutionGets or sets the horizontal resolution for generated images, in dots per inch.
SetHorizontalResolutionGets or sets the horizontal resolution for generated images, in dots per inch.
GetVerticalResolutionGets or sets the vertical resolution for generated images, in dots per inch.
SetVerticalResolutionGets or sets the vertical resolution for generated images, in dots per inch.
GetTiffCompressionGets or sets the type of compression to apply only when saving pages to the Tiff format.
SetTiffCompressionGets or sets the type of compression to apply only when saving pages to the Tiff format.
GetTiffColorDepthGets or sets bit depth to apply only when saving pages to the Tiff format.
SetTiffColorDepthGets or sets bit depth to apply only when saving pages to the Tiff format.
GetTiffBinarizationMethodGets or sets method used while converting images to 1 bpp formatwhen is Tiff and is equal to Ccitt3 or Ccitt4.
SetTiffBinarizationMethodGets or sets method used while converting images to 1 bpp formatwhen is Tiff and is equal to Ccitt3 or Ccitt4.
GetPrintingPageIndicates which pages will not be printed.
SetPrintingPageIndicates which pages will not be printed.
GetQualityGets or sets a value determining the quality of the generated imagesto apply only when saving pages to the Jpeg format. The default value is 100
SetQualityGets or sets a value determining the quality of the generated imagesto apply only when saving pages to the Jpeg format. The default value is 100
GetImageTypeGets or sets the format of the generated images.default value: PNG.
SetImageTypeGets or sets the format of the generated images.default value: PNG.
GetOnePagePerSheetIf 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.
SetOnePagePerSheetIf 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.
GetAllColumnsInOnePagePerSheetIf 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.
SetAllColumnsInOnePagePerSheetIf 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.
GetDrawObjectEventHandlerImplements this interface to get DrawObject and Bound when rendering.
SetDrawObjectEventHandlerImplements this interface to get DrawObject and Bound when rendering.
GetEmbededImageNameInSvgIndicate the filename of embedded image in svg.This should be full path with directory like “c:\xpsEmbedded”
SetEmbededImageNameInSvgIndicate the filename of embedded image in svg.This should be full path with directory like “c:\xpsEmbedded”
GetSVGFitToViewPortif this property is true, the generated svg will fit to view port.
SetSVGFitToViewPortif this property is true, the generated svg will fit to view port.
GetOnlyAreaIf this property is true , one Area will be output, and no scale will take effect.
SetOnlyAreaIf this property is true , one Area will be output, and no scale will take effect.
GetTransparentIndicates if the background of generated image should be transparent.
SetTransparentIndicates if the background of generated image should be transparent.
SetIsFontSubstitutionCharGranularityIndicates whether to only substitute the font of character when the cell font is not compatibility for it.
IsFontSubstitutionCharGranularityIndicates whether to only substitute the font of character when the cell font is not compatibility for it.
SetPageIndexGets or sets the 0-based index of the first page to save.
GetPageIndexGets or sets the 0-based index of the first page to save.
SetPageCountGets or sets the number of pages to save.
GetPageCountGets or sets the number of pages to save.
SetDesiredSizeSets desired width and height of image.
IsOptimizedIndicates whether to optimize the output elements.
SetIsOptimizedIndicates whether to optimize the output elements.
GetDefaultFontWhen 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.
SetDefaultFontWhen 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.
GetCheckWorkbookDefaultFontWhen 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.
SetCheckWorkbookDefaultFontWhen 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.
GetOutputBlankPageWhenNothingToPrintIndicates whether to output a blank page when there is nothing to print.
SetOutputBlankPageWhenNothingToPrintIndicates whether to output a blank page when there is nothing to print.
GetGridlineTypeGets or sets gridline type.
SetGridlineTypeGets or sets gridline type.
GetTextCrossTypeGets or sets displaying text type when the text width is larger than cell width.
SetTextCrossTypeGets or sets displaying text type when the text width is larger than cell width.
GetDefaultEditLanguageGets or sets default edit language.
SetDefaultEditLanguageGets or sets default edit language.
GetSheetSetGets or sets the sheets to render. Default is all visible sheets in the workbook: .
SetSheetSetGets or sets the sheets to render. Default is all visible sheets in the workbook: .
GetEmfRenderSettingSetting for rendering Emf metafile.
SetEmfRenderSettingSetting for rendering Emf metafile.