[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.PrintManager.Draw

Draw Method

Draw(Page, IList<PageInfo>, int, int, Order, PdfSaveOptions)

Draw the pages in the page collection on a page in a certain direction.

Declaration
public void Draw(Page page, IList<PageInfo> pages, int rows, int columns, Order order = Order.OverThenDown, PdfSaveOptions options = null)
Public Sub Draw(page As Page, pages As IList(Of PageInfo), rows As Integer, columns As Integer, Optional order As Order = Order.OverThenDown, Optional options As PdfSaveOptions = Nothing)
Parameters
Type Name Description
Page page

The page in a GcPdfDocument.

IList<PageInfo> pages

The page collection.

int rows

The number of rows that these pages will be divided into.

int columns

The number of columns that these pages will be divided into.

Order order

The direction used to arrange the pages.

PdfSaveOptions options

Options for saving pdf file.

Draw(Page, PointF, IRange, PdfSaveOptions)

Draw the range data to the specific location in a specified pdf page.

Declaration
public void Draw(Page page, PointF location, IRange range, PdfSaveOptions options = null)
Public Sub Draw(page As Page, location As PointF, range As IRange, Optional options As PdfSaveOptions = Nothing)
Parameters
Type Name Description
Page page

The page in a GcPdfDocument.

PointF location

The location of the range data to be drawn.

IRange range

The print data range.

PdfSaveOptions options

Options for saving pdf file.

Draw(Page, RectangleF, IRange, PdfSaveOptions)

Draw the range data to the specific location in a specified pdf page.

Declaration
public void Draw(Page page, RectangleF rect, IRange range, PdfSaveOptions options = null)
Public Sub Draw(page As Page, rect As RectangleF, range As IRange, Optional options As PdfSaveOptions = Nothing)
Parameters
Type Name Description
Page page

The page in a GcPdfDocument.

RectangleF rect

The location and size of the range data to be drawn.

IRange range

The print data range.

PdfSaveOptions options

Options for saving pdf file.

Draw(Page, RectangleF, PageContentInfo, PdfSaveOptions)

Draw the page info to the specific location in a specified pdf page.

Declaration
public void Draw(Page page, RectangleF rect, PageContentInfo pageContent, PdfSaveOptions options = null)
Public Sub Draw(page As Page, rect As RectangleF, pageContent As PageContentInfo, Optional options As PdfSaveOptions = Nothing)
Parameters
Type Name Description
Page page

The page in a GcPdfDocument.

RectangleF rect

The location and size of the data to be drawn.

PageContentInfo pageContent

The printed page content info.

PdfSaveOptions options

Options for saving pdf file.

Draw(Page, RectangleF, PageInfo, PdfSaveOptions)

Draw the page info to the specific location in a specified pdf page.

Declaration
public void Draw(Page page, RectangleF rect, PageInfo pageInfo, PdfSaveOptions options = null)
Public Sub Draw(page As Page, rect As RectangleF, pageInfo As PageInfo, Optional options As PdfSaveOptions = Nothing)
Parameters
Type Name Description
Page page

The page in a GcPdfDocument.

RectangleF rect

The location and size of the data to be drawn.

PageInfo pageInfo

The printed page info.

PdfSaveOptions options

Options for saving pdf file.