1. AutoSize
true or false: 是否讓影像元件的寬、高隨著 Load 進來的影像大小自動調整。
2. Stretch
true or false: 是否讓 Load 進來的影像大小自動隨著影像元件的寬、高顯示出來。
3.
TCanvas::Pixels
Specifies the color of the pixels within the current ClipRect.
__property TColor Pixels[int X][int Y] = {read=GetPixel, write=SetPixel};
Description
Read Pixels to learn the color on the drawing surface at a specific pixel position within the current clipping region. If the position is outside the clipping rectangle, reading the value of Pixels returns -1.
Write Pixels to change the color of individual pixels on the drawing surface. Use Pixels for detailed effects on an image. Pixels may also be used to determine the color that should be used for the FillRect method.
Not every device context supports the Pixels property. Reading the Pixels property for such a device context will return a value of -1. Setting the Pixels property for such a device context does nothing.