C# Class PdfRpt.Core.Helper.VectorImages

Contains the definition of some useful vector images
显示文件 Open project: VahidN/PdfReport

Public Methods

Method Description
CheckmarkImage ( PdfContentByte contentByte, System color ) : Image

A vector checkmark image's definition

CrossImage ( PdfContentByte cb, System color ) : Image

A vector cross sign image's definition

DrawCheckmark ( Rectangle position, PdfContentByte contentByte, System color ) : Image

A vector checkmark image's definition

DrawCheckmarkImageAtPosition ( this img, Rectangle position, float newWidth = 40, float newHeight = 40 ) : Image

Draws the images at the specified location.

DrawCross ( Rectangle position, PdfContentByte cb, System color ) : Image

A vector cross sign image's definition

DrawCrossImageAtPosition ( this img, Rectangle position, float newWidth = 30, float newHeight = 30 ) : Image

Draws the images at the specified location.

Method Details

CheckmarkImage() public static method

A vector checkmark image's definition
public static CheckmarkImage ( PdfContentByte contentByte, System color ) : Image
contentByte iTextSharp.text.pdf.PdfContentByte drawing canvas
color System fill color
return iTextSharp.text.Image

CrossImage() public static method

A vector cross sign image's definition
public static CrossImage ( PdfContentByte cb, System color ) : Image
cb iTextSharp.text.pdf.PdfContentByte drawing canvas
color System fill color
return iTextSharp.text.Image

DrawCheckmark() public static method

A vector checkmark image's definition
public static DrawCheckmark ( Rectangle position, PdfContentByte contentByte, System color ) : Image
position iTextSharp.text.Rectangle position of the drawing
contentByte iTextSharp.text.pdf.PdfContentByte drawing canvas
color System fill color
return iTextSharp.text.Image

DrawCheckmarkImageAtPosition() public static method

Draws the images at the specified location.
public static DrawCheckmarkImageAtPosition ( this img, Rectangle position, float newWidth = 40, float newHeight = 40 ) : Image
img this Image
position iTextSharp.text.Rectangle position of the drawing
newWidth float ScaleAbsolute's newWidth
newHeight float ScaleAbsolute's newHeight
return iTextSharp.text.Image

DrawCross() public static method

A vector cross sign image's definition
public static DrawCross ( Rectangle position, PdfContentByte cb, System color ) : Image
position iTextSharp.text.Rectangle position of the drawing
cb iTextSharp.text.pdf.PdfContentByte drawing canvas
color System fill color
return iTextSharp.text.Image

DrawCrossImageAtPosition() public static method

Draws the images at the specified location.
public static DrawCrossImageAtPosition ( this img, Rectangle position, float newWidth = 30, float newHeight = 30 ) : Image
img this Image
position iTextSharp.text.Rectangle position of the drawing
newWidth float ScaleAbsolute's newWidth
newHeight float ScaleAbsolute's newHeight
return iTextSharp.text.Image