Click or drag to resize
FormattedExcelDrawing Class
Represents a formatted drawing (picture, chart, etc.) which can be exported to PDF, XPS, image or be printed.
Inheritance Hierarchy
SystemObject
  GemBox.SpreadsheetFormattedExcelDrawing

Namespace: GemBox.Spreadsheet
Assembly: GemBox.Spreadsheet (in GemBox.Spreadsheet.dll) Version: 41.3.30.1000
Syntax
public sealed class FormattedExcelDrawing

The FormattedExcelDrawing type exposes the following members.

Methods
  NameDescription
Public methodPrint
Prints the drawing to the default printer.
Public methodPrint(String)
Prints the drawing to the specified printer.
Public methodPrint(String, PrintOptions)
Prints the drawing to the specified printer according to specified options.
Public methodSave(String)
Saves the drawing to a file with the specified path. Path must include file extension.
Public methodSave(Stream, SaveOptions)
Saves the drawing in the specified stream.
Public methodCode exampleSave(Object, String)
Saves the drawing to a System.Web.HttpResponse or System.Web.HttpResponseBase output stream or a System.Net.Http.HttpResponseMessage and sets appropriate HTTP response headers (Content-Type and Content-Disposition). Use this method in ASP.NET application to send the drawing to a client browser. File format is resolved from fileName extension. See remarks why httpResponse parameter is of type Object.
Public methodSave(String, SaveOptions)
Saves the drawing to a file with the specified path.
Public methodCode exampleSave(Object, String, SaveOptions)
Saves the drawing to a System.Web.HttpResponse or System.Web.HttpResponseBase output stream or a System.Net.Http.HttpResponseMessage and sets appropriate HTTP response headers (Content-Type and Content-Disposition). Use this method in ASP.NET application to send the drawing to a client browser. File format is defined with options parameter. See remarks why httpResponse parameter is of type Object.
Top
Properties
  NameDescription
Public propertyContent
Gets the drawing content.
Public propertyHeight
Gets the drawing height in Points.
Public propertyWidth
Gets the drawing width in Points.
Top
See Also