C# Класс Fonet.Image.FonetImage

A bitmap image that will be referenced by fo:external-graphic.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
FonetImage ( string href, byte imageData ) : System

Constructs a new FonetImage using the supplied bitmap.

Does not hold a reference to the passed bitmap. Instead the image data is extracted from bitmap on construction.

Приватные методы

Метод Описание
ExtractImage ( Bitmap bitmap ) : void

Extracts the raw data from the image into a byte array suitable for including in the PDF document. The image is always extracted as a 24-bit RGB image, regardless of it's original colour space and colour depth.

ExtractOtherImageBits ( Bitmap bitmap ) : void
GetPixelSize ( Bitmap bitmap ) : Point
LockBitmap ( Bitmap bitmap ) : void
PixelAt ( int x, int y ) : PixelData*
UnlockBitmap ( Bitmap bitmap ) : void

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

FonetImage() публичный Метод

Constructs a new FonetImage using the supplied bitmap.
Does not hold a reference to the passed bitmap. Instead the image data is extracted from bitmap on construction.
public FonetImage ( string href, byte imageData ) : System
href string The location of bitmap
imageData byte The image data
Результат System