[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.Printing.PrintingContext

PrintingContext Class

Represents visual content using draw, push, and pop commands.

Inheritance
PrintingContext
Namespace: GrapeCity.Spreadsheet.Printing
Assembly: GrapeCity.Spreadsheet.dll
Syntax
public abstract class PrintingContext : IDisposable, IMergeCellSupport
Public MustInherit Class PrintingContext
    Implements IDisposable, IMergeCellSupport

Properties

Name Description
DrawingContext

Gets the drawing context using draw commands.

Page

Gets the document page.

Workbook

Gets the painting workbook.

Methods

Name Description
Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Dispose(bool)

Releases unmanaged and managed resources.

DrawImage(Stream, Rectangle, SizingMode, Rectangle?, RectAlignment)

Draws an image into the region defined by the specified GrapeCity.Drawing.Rectangle.

DrawImage(string, Rectangle, SizingMode, Rectangle?, RectAlignment)

Draws an image into the region defined by the specified GrapeCity.Drawing.Rectangle.

DrawText(string, Font, Rectangle, Rectangle, HorizontalAlignment, VerticalAlignment, bool, int, bool)
MeasureText(string, Font, Size, bool)
Pop()

Pops the last operation that was pushed onto the drawing context.

PushClip(Rectangle)

Pushes the specified clip rectangle onto the drawing context.