Properties

Parent Previous Next

Methods
Events


Properties

Description

AbsoulteHeight

Defines real height of the image (zoom not counted)

AbsoluteWidth

Defines real width of the image (zoom not counted)

ActiveGroup

The group object that has the input focus

ActiveIconIndex

The icon image that has the input focus in an icon project

ActiveTool

The selected drawing tool

ActiveToolProfile

The selected tool configuration profile

Attributes

Reads the current Font, Pen, Brush, PenEx and BrushEx properties and copies them to the Attributes record

AutoApplyAttributes

Automatically transfers the the current Attributes to the selected object

Background

References then obligatory Background object

Brush

Defines the default Brush to be assigned new figures.

BrushEx

Defines the default BrushEx to be assigned new figures.

ButtonsVisible

Hides/Shows the size grips or custom buttons of a figure

Canvas

Drawing (buffered) canvas

CaptureFigure

The figure that fully contains the selector

CaptureRect

Rectangle of area captured by the Selector

Centered

Defines position of image within the component, centered or top left corner

ColorDepth

Image color depth

ContourCount

Counts the number of contoured figures in an image

ContourCycling

Defines an animated border style on contoured figures

Contours

Lists the contoured figures in an image

CyclingDotColor1

Color of first dot in an animated border style of contoured figures

CyclingDotColor2

Color of second dot in an animated border style of contoured figures

CyclingDotSize

Size of the dot in an animated border style of contoured figures

DisableObjects

If true, prevents objects from being accessed.

DisableShortCuts

Disable built in short cuts

DrawObject

Object that currently is being drawn.

DrawState

Defines actions going on.

EditMode

If true, tells if a bitmap object is being edited.

Empty

If true, image contains no drawings or undo history

EnableAlphaChannel

If true, enables editing of the alpha channel (32 bit images only)

ExtCanvas

Component canvas.

Filename

Filename of loaded image

FixedSize

If true, tells if the current image size must be kept when loading new images

Flags

Set of flags that define what operations are allowed in the current situation.

Font

Defines the default Font to be assigned new figures.

FrameColor

Color of image frame

Framed

If true, draws a 1 pixel border around the image area.

HasChanged

True if content of image has changed or not saved

Icons

References the icon class object. Nil if no icon project active

IconShowMode

Shows an icon image in different transparent modes

IconImageChanged

True if a particular icon image has changed

ImageBitmap

Returns a pointer to the image, all qualities preserved

ImageHeight

Defines the height of the image, zoom counted.

ImagePalette

Defines the palette colors, in case of 8 of 4 bit images

ImageRect

Defines the image rectangle within the component

ImageType

Defines type of image: Bitmap, JPG, PNG, etc

ImageVisible

If false the image is not visible on screen

ImageWidth

Defines the width of the image, zoom counted.

LayerCount

Number of layers contained by the image

Layers

Returns a layer object, referenced by its index.

MouseResize

If true, the image can be resized by click and drag

MouseRotation

Defines how a figure can be rotated using the mouse

MouseScroll

If true the image can by scrolled by click and drag.

MouseXY

Returns the image xy coordinates that is under the mouse

MultiSelect

If true, more than one figure can be selected at a time

NoHistory

If true, block undo recording

ObjectCount

Number of single objects in the image

Objects

Returns an object, referenced by its index.

Pen

Defines the default Pen to be assigned new figures.

PenEx

Defines the default PenEx (extended attributes) to be assigned new figures.

PixelGrid

if true, and if conditions permit,shows a grid where each square represents a pixel.

ReadOnly

If true, prevents the image from being changed.

ResizeMode

Defines image behavior when it is resized

Resampling

Turns on/off zoom resampling

ResamplingFilter

Sets a zoom resampling filter

ResamplingOptions

Fine tunes resampling behavior

RestrictToPalette

If true, a color can be applied only if it is in the image palette (4 and 8 bit images only.

Rulers

Activates ruler functionality

RulerMode

Defines how rulers are drawn

RulerOptions

Fine tunes ruler behavior

RulerPen

Defines ruler pen style and color

RulerX

Sets ruler x position manually

RulerY

Sets ruler y position manually

Scrollbars

If true, scrollbars will appear when there is something to scroll.

SelCount

Number of selected objects

Selected

Returns the selected object. In a multi selection, the last one selected.

Selection

Returns the selected object referenced by its position within the selection,

Selector

References the selector, nil if not active.

SelectorStyle

Defines a selector style.

ShowState

Returns the current zoom state.

SmoothZoom

If true, zooming will appear in somewhat slow motion.

ToolDefs

Return the tool descriptor, referenced by its tool class identifier

Viewpoint

Defines the upper left corner of the visible part of the image.

ZoomFactor

Sets zoom level.

ZoomMax

Defines the maximum zoom level.

ZoomMin

Defines the minimum zoom level.

ZoomMode

Defines the zoom step, either steps by 100 or by any size

ZoomPlaytime

Number of milliseconds a zoom will take (smooth zoom only).