C# 클래스 Fonet.Image.FonetImage

A bitmap image that will be referenced by fo:external-graphic.
파일 보기 프로젝트 열기: Mimeo/Fo.Net 1 사용 예제들

공개 메소드들

메소드 설명
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