C# 클래스 PdfRpt.ColumnsItemsTemplates.ImageFilePathField

Displaying current cell's data as an Image. It's assumed that this data point to the physical image's path on the disk.
상속: IColumnItemsTemplate
파일 보기 프로젝트 열기: VahidN/PdfReport

공개 메소드들

메소드 설명
CellRendered ( PdfPCell cell, Rectangle position, PdfContentByte canvases, PdfRpt.Core.Contracts.CellAttributes attributes ) : void

This method is called at the end of the cell's rendering.

ImageFilePathField ( ) : System

Displaying current cell's data as an Image. It's assumed that this data point to the physical image's path on the disk.

ImageFilePathField ( string defaultImageFilePath, bool fitImages, bool cacheImages = true ) : System

Displaying current cell's data as an Image. It's assumed that this data point to the physical image's path on the disk.

RenderingCell ( PdfRpt.Core.Contracts.CellAttributes attributes ) : PdfPCell

Custom cell's content template as a PdfPCell

비공개 메소드들

메소드 설명
getImage ( PdfRpt.Core.Contracts.CellAttributes attributes ) : Image

메소드 상세

CellRendered() 공개 메소드

This method is called at the end of the cell's rendering.
public CellRendered ( PdfPCell cell, Rectangle position, PdfContentByte canvases, PdfRpt.Core.Contracts.CellAttributes attributes ) : void
cell iTextSharp.text.pdf.PdfPCell The current cell
position iTextSharp.text.Rectangle The coordinates of the cell
canvases iTextSharp.text.pdf.PdfContentByte An array of PdfContentByte to add text or graphics
attributes PdfRpt.Core.Contracts.CellAttributes Current cell's custom attributes
리턴 void

ImageFilePathField() 공개 메소드

Displaying current cell's data as an Image. It's assumed that this data point to the physical image's path on the disk.
public ImageFilePathField ( ) : System
리턴 System

ImageFilePathField() 공개 메소드

Displaying current cell's data as an Image. It's assumed that this data point to the physical image's path on the disk.
public ImageFilePathField ( string defaultImageFilePath, bool fitImages, bool cacheImages = true ) : System
defaultImageFilePath string Default image will be used in case of missing images
fitImages bool Set fitImages to true to fit the image to the cell
cacheImages bool If true, the image bytes will be added to the PDF only once, not per each new instance. Therefore the result won't be a bloated PDF file. Choose this option if there are many similar images in your data source.
리턴 System

RenderingCell() 공개 메소드

Custom cell's content template as a PdfPCell
public RenderingCell ( PdfRpt.Core.Contracts.CellAttributes attributes ) : PdfPCell
attributes PdfRpt.Core.Contracts.CellAttributes
리턴 iTextSharp.text.pdf.PdfPCell