C# Класс PdfRpt.Core.Helper.VectorImages

Contains the definition of some useful vector images
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

CheckmarkImage() публичный статический Метод

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
Результат iTextSharp.text.Image

CrossImage() публичный статический Метод

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
Результат iTextSharp.text.Image

DrawCheckmark() публичный статический Метод

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
Результат iTextSharp.text.Image

DrawCheckmarkImageAtPosition() публичный статический Метод

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
Результат iTextSharp.text.Image

DrawCross() публичный статический Метод

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
Результат iTextSharp.text.Image

DrawCrossImageAtPosition() публичный статический Метод

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
Результат iTextSharp.text.Image