[]
Represents visual content using draw, push, and pop commands.
public abstract class PrintingContext : IDisposable, IMergeCellSupport
Public MustInherit Class PrintingContext
Implements IDisposable, IMergeCellSupport
Name | Description |
---|---|
DrawingContext | Gets the drawing context using draw commands. |
Page | Gets the document page. |
Workbook | Gets the painting workbook. |
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 Rectangle. |
DrawImage(string, Rectangle, SizingMode, Rectangle?, RectAlignment) | Draws an image into the region defined by the specified Rectangle. |
DrawText(string, Font, Rectangle, Rectangle, HorizontalAlignment, VerticalAlignment, bool, int, bool) | Draws the specified text string in the specified rectangle. |
MeasureText(string, Font, Size, bool) | Measures the specified text string when drawn with the specified GrapeCity.Spreadsheet.Font. |
Pop() | Pops the last operation that was pushed onto the drawing context. |
PushClip(Rectangle) | Pushes the specified clip rectangle onto the drawing context. |