TBaseImageProperties Class
Image information, for headers and footers, normal images or objects in general.
Syntax
Namespace: FlexCel.Core
public abstract class TBaseImageProperties
Fields
| Name | Description |
|---|---|
| FDefaultsToLockedAspectRatio | This variable must be set by the class inheriting this one. |
Methods
| Name | Description |
|---|---|
| EqualValues | Returns true if both instances of the objects contain the same values. Instances might be different, this method will return if their values are equal. Instances can be null. |
| Clone | Returns a deep copy of the object. |
Properties
| Name | Description |
|---|---|
| DefaultsToLockedAspectRatio | This property returns true if the shape by default locks its aspect ratio. Images do it, comments don't. You will normally not need to use this value. |
| FileName | FileName of the image. It sets/gets the original filename of the image before it was inserted. (For example: c:\image.jpg) It is not necessary to set this field, and when the image is not inserted from a file but pasted, Excel does not set it either. |
| CropArea | Cropping coordinates for the Image. |
| TransparentColor | Transparent Color. FlxConsts.NoTransparentColor (~0L) means no transparent color. |
| Contrast | Contrast of the image. FlxConsts.DefaultContrast is the default Contrast. |
| Brightness | Brightness of the image. FlxConsts.DefaultBrightness is the default Brightness. |
| Gamma | Gamma of the image. FlxConsts.DefaultGamma is the default Gamma. |
| Lock | True if this image can't be selected when the sheet is protected. |
| If false, the image won't be printed. |
|
| Published | Determines if the image should be published when sent to a server. This only applies to charts. |
| Disabled | If true, the object is disabled. |
| DefaultSize | If true, the application is expected to choose the default size of the object. |
| Macro | Macro attached to the image. |
| PreferRelativeSize | Specifies whether the original size of an object is saved after reformatting. If true, the original size of the object is stored and all resizing is based on a percentage of that original size. Otherwise, each resizing resets the scale to 100%. |
| LockAspectRatio | Specifies whether the aspect ratio of a shape is locked from being edited. |
| Grayscale | Image should be displayed in grayscale. |
| BiLevel | If true, the image will display in 2 color black and white. |